diff options
Diffstat (limited to 'arch/mips/jmr3927/rbhma3100/setup.c')
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 2 |
1 files changed, 1 insertions, 1 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); |