aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-m48t59.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c
index bf60d35f580b..2bad1637330a 100644
--- a/drivers/rtc/rtc-m48t59.c
+++ b/drivers/rtc/rtc-m48t59.c
@@ -464,7 +464,7 @@ static int __devexit m48t59_rtc_remove(struct platform_device *pdev)
464 return 0; 464 return 0;
465} 465}
466 466
467static struct platform_driver m48t59_rtc_platdrv = { 467static struct platform_driver m48t59_rtc_driver = {
468 .driver = { 468 .driver = {
469 .name = "rtc-m48t59", 469 .name = "rtc-m48t59",
470 .owner = THIS_MODULE, 470 .owner = THIS_MODULE,
@@ -475,12 +475,12 @@ static struct platform_driver m48t59_rtc_platdrv = {
475 475
476static int __init m48t59_rtc_init(void) 476static int __init m48t59_rtc_init(void)
477{ 477{
478 return platform_driver_register(&m48t59_rtc_platdrv); 478 return platform_driver_register(&m48t59_rtc_driver);
479} 479}
480 480
481static void __exit m48t59_rtc_exit(void) 481static void __exit m48t59_rtc_exit(void)
482{ 482{
483 platform_driver_unregister(&m48t59_rtc_platdrv); 483 platform_driver_unregister(&m48t59_rtc_driver);
484} 484}
485 485
486module_init(m48t59_rtc_init); 486module_init(m48t59_rtc_init);