diff options
author | Andrew Lunn <andrew@lunn.ch> | 2011-05-15 07:32:42 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-05-16 14:53:06 -0400 |
commit | f6eaccb30fb4381da05e1e04f7fb9b956ab22826 (patch) | |
tree | 208945cced51e7e00cdf4560da9cdc071120ea9d /arch/arm/mach-kirkwood/common.c | |
parent | 28a2b45054f2e3f3671e36a6e9efc82756afa31a (diff) |
ARM: orion: Consolidate the creation of the RTC platform data.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.c')
-rw-r--r-- | arch/arm/mach-kirkwood/common.c | 8 |
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 | ****************************************************************************/ |
329 | static struct resource kirkwood_rtc_resource = { | ||
330 | .start = RTC_PHYS_BASE, | ||
331 | .end = RTC_PHYS_BASE + SZ_16 - 1, | ||
332 | .flags = IORESOURCE_MEM, | ||
333 | }; | ||
334 | |||
335 | static void __init kirkwood_rtc_init(void) | 329 | static 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 | ||