aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sa1100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-sa1100.c')
-rw-r--r--drivers/rtc/rtc-sa1100.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
index fc1ffe97fca1..4595d3e645a7 100644
--- a/drivers/rtc/rtc-sa1100.c
+++ b/drivers/rtc/rtc-sa1100.c
@@ -435,18 +435,7 @@ static struct platform_driver sa1100_rtc_driver = {
435 }, 435 },
436}; 436};
437 437
438static int __init sa1100_rtc_init(void) 438module_platform_driver(sa1100_rtc_driver);
439{
440 return platform_driver_register(&sa1100_rtc_driver);
441}
442
443static void __exit sa1100_rtc_exit(void)
444{
445 platform_driver_unregister(&sa1100_rtc_driver);
446}
447
448module_init(sa1100_rtc_init);
449module_exit(sa1100_rtc_exit);
450 439
451MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>"); 440MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>");
452MODULE_DESCRIPTION("SA11x0/PXA2xx Realtime Clock Driver (RTC)"); 441MODULE_DESCRIPTION("SA11x0/PXA2xx Realtime Clock Driver (RTC)");