diff --git a/[refs] b/[refs] index 09de051c4fbe..98bf2244befd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b9773c3f52540ada159dc135c07653be010deee7 +refs/heads/master: 09acc3a1e0dee537fcfcd5a6c17a1e9b26586066 diff --git a/trunk/drivers/clocksource/em_sti.c b/trunk/drivers/clocksource/em_sti.c index e6a553cb73e8..4329a29a5310 100644 --- a/trunk/drivers/clocksource/em_sti.c +++ b/trunk/drivers/clocksource/em_sti.c @@ -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");