aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-s3c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
-rw-r--r--drivers/rtc/rtc-s3c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index 910bc704939c..340d03be8206 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -507,7 +507,7 @@ static int s3c_rtc_resume(struct platform_device *pdev)
507#define s3c_rtc_resume NULL 507#define s3c_rtc_resume NULL
508#endif 508#endif
509 509
510static struct platform_driver s3c2410_rtcdrv = { 510static struct platform_driver s3c2410_rtc_driver = {
511 .probe = s3c_rtc_probe, 511 .probe = s3c_rtc_probe,
512 .remove = __devexit_p(s3c_rtc_remove), 512 .remove = __devexit_p(s3c_rtc_remove),
513 .suspend = s3c_rtc_suspend, 513 .suspend = s3c_rtc_suspend,
@@ -523,12 +523,12 @@ static char __initdata banner[] = "S3C24XX RTC, (c) 2004,2006 Simtec Electronics
523static int __init s3c_rtc_init(void) 523static int __init s3c_rtc_init(void)
524{ 524{
525 printk(banner); 525 printk(banner);
526 return platform_driver_register(&s3c2410_rtcdrv); 526 return platform_driver_register(&s3c2410_rtc_driver);
527} 527}
528 528
529static void __exit s3c_rtc_exit(void) 529static void __exit s3c_rtc_exit(void)
530{ 530{
531 platform_driver_unregister(&s3c2410_rtcdrv); 531 platform_driver_unregister(&s3c2410_rtc_driver);
532} 532}
533 533
534module_init(s3c_rtc_init); 534module_init(s3c_rtc_init);