aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/rtc/rtc-puv3.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c
index 540ead3cb3c7..6490a02b1703 100644
--- a/drivers/rtc/rtc-puv3.c
+++ b/drivers/rtc/rtc-puv3.c
@@ -337,21 +337,7 @@ static struct platform_driver puv3_rtcdrv = {
337 } 337 }
338}; 338};
339 339
340static char __initdata banner[] = "PKUnity-v3 RTC, (c) 2009 PKUnity Co.\n"; 340module_platform_driver(puv3_rtcdrv);
341
342static int __init puv3_rtc_init(void)
343{
344 printk(banner);
345 return platform_driver_register(&puv3_rtcdrv);
346}
347
348static void __exit puv3_rtc_exit(void)
349{
350 platform_driver_unregister(&puv3_rtcdrv);
351}
352
353module_init(puv3_rtc_init);
354module_exit(puv3_rtc_exit);
355 341
356MODULE_DESCRIPTION("RTC Driver for the PKUnity v3 chip"); 342MODULE_DESCRIPTION("RTC Driver for the PKUnity v3 chip");
357MODULE_AUTHOR("Hu Dongliang"); 343MODULE_AUTHOR("Hu Dongliang");