diff options
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-ds1742.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/jmr3927/rbhma3100/setup.c b/arch/mips/jmr3927/rbhma3100/setup.c index 7f14f70a1b88..0c7aee1682cd 100644 --- a/arch/mips/jmr3927/rbhma3100/setup.c +++ b/arch/mips/jmr3927/rbhma3100/setup.c | |||
@@ -425,7 +425,7 @@ static int __init jmr3927_rtc_init(void) | |||
425 | .flags = IORESOURCE_MEM, | 425 | .flags = IORESOURCE_MEM, |
426 | }; | 426 | }; |
427 | struct platform_device *dev; | 427 | struct platform_device *dev; |
428 | dev = platform_device_register_simple("ds1742", -1, &res, 1); | 428 | dev = platform_device_register_simple("rtc-ds1742", -1, &res, 1); |
429 | return IS_ERR(dev) ? PTR_ERR(dev) : 0; | 429 | return IS_ERR(dev) ? PTR_ERR(dev) : 0; |
430 | } | 430 | } |
431 | device_initcall(jmr3927_rtc_init); | 431 | device_initcall(jmr3927_rtc_init); |
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c index acaf613358c7..b97102a1c635 100644 --- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c +++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c | |||
@@ -963,7 +963,7 @@ static int __init toshiba_rbtx4927_rtc_init(void) | |||
963 | .flags = IORESOURCE_MEM, | 963 | .flags = IORESOURCE_MEM, |
964 | }; | 964 | }; |
965 | struct platform_device *dev = | 965 | struct platform_device *dev = |
966 | platform_device_register_simple("ds1742", -1, &res, 1); | 966 | platform_device_register_simple("rtc-ds1742", -1, &res, 1); |
967 | return IS_ERR(dev) ? PTR_ERR(dev) : 0; | 967 | return IS_ERR(dev) ? PTR_ERR(dev) : 0; |
968 | } | 968 | } |
969 | device_initcall(toshiba_rbtx4927_rtc_init); | 969 | device_initcall(toshiba_rbtx4927_rtc_init); |
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index 67291b0f8283..c535b78698e2 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -251,7 +251,7 @@ static struct platform_driver ds1742_rtc_driver = { | |||
251 | .probe = ds1742_rtc_probe, | 251 | .probe = ds1742_rtc_probe, |
252 | .remove = __devexit_p(ds1742_rtc_remove), | 252 | .remove = __devexit_p(ds1742_rtc_remove), |
253 | .driver = { | 253 | .driver = { |
254 | .name = "ds1742", | 254 | .name = "rtc-ds1742", |
255 | .owner = THIS_MODULE, | 255 | .owner = THIS_MODULE, |
256 | }, | 256 | }, |
257 | }; | 257 | }; |