aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-kirkwood/common.c')
-rw-r--r--arch/arm/mach-kirkwood/common.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c
index 8cdf9f9f74b5..b77050e96ab6 100644
--- a/arch/arm/mach-kirkwood/common.c
+++ b/arch/arm/mach-kirkwood/common.c
@@ -326,15 +326,9 @@ void __init kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts,
326/***************************************************************************** 326/*****************************************************************************
327 * SoC RTC 327 * SoC RTC
328 ****************************************************************************/ 328 ****************************************************************************/
329static struct resource kirkwood_rtc_resource = {
330 .start = RTC_PHYS_BASE,
331 .end = RTC_PHYS_BASE + SZ_16 - 1,
332 .flags = IORESOURCE_MEM,
333};
334
335static void __init kirkwood_rtc_init(void) 329static void __init kirkwood_rtc_init(void)
336{ 330{
337 platform_device_register_simple("rtc-mv", -1, &kirkwood_rtc_resource, 1); 331 orion_rtc_init(RTC_PHYS_BASE, NO_IRQ);
338} 332}
339 333
340 334