Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372275
b: refs/heads/master
c: 09acc3a
h: refs/heads/master
i:
  372273: 9ba5dd0
  372271: 97da3fd
v: v3
  • Loading branch information
Simon Horman committed Mar 12, 2013
1 parent 31f0fb9 commit 7f624df
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9773c3f52540ada159dc135c07653be010deee7
refs/heads/master: 09acc3a1e0dee537fcfcd5a6c17a1e9b26586066
13 changes: 12 additions & 1 deletion trunk/drivers/clocksource/em_sti.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,18 @@ static struct platform_driver em_sti_device_driver = {
}
};

module_platform_driver(em_sti_device_driver);
static int __init em_sti_init(void)
{
return platform_driver_register(&em_sti_device_driver);
}

static void __exit em_sti_exit(void)
{
platform_driver_unregister(&em_sti_device_driver);
}

subsys_initcall(em_sti_init);
module_exit(em_sti_exit);

MODULE_AUTHOR("Magnus Damm");
MODULE_DESCRIPTION("Renesas Emma Mobile STI Timer Driver");
Expand Down

0 comments on commit 7f624df

Please sign in to comment.