diff options
Diffstat (limited to 'drivers/rtc/rtc-sa1100.c')
-rw-r--r-- | drivers/rtc/rtc-sa1100.c | 13 |
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 | ||
438 | static int __init sa1100_rtc_init(void) | 438 | module_platform_driver(sa1100_rtc_driver); |
439 | { | ||
440 | return platform_driver_register(&sa1100_rtc_driver); | ||
441 | } | ||
442 | |||
443 | static void __exit sa1100_rtc_exit(void) | ||
444 | { | ||
445 | platform_driver_unregister(&sa1100_rtc_driver); | ||
446 | } | ||
447 | |||
448 | module_init(sa1100_rtc_init); | ||
449 | module_exit(sa1100_rtc_exit); | ||
450 | 439 | ||
451 | MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>"); | 440 | MODULE_AUTHOR("Richard Purdie <rpurdie@rpsys.net>"); |
452 | MODULE_DESCRIPTION("SA11x0/PXA2xx Realtime Clock Driver (RTC)"); | 441 | MODULE_DESCRIPTION("SA11x0/PXA2xx Realtime Clock Driver (RTC)"); |