diff options
author | Andrew Lunn <andrew@lunn.ch> | 2011-05-15 13:32:42 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-05-16 14:53:06 -0400 |
commit | f6eaccb30fb4381da05e1e04f7fb9b956ab22826 (patch) | |
tree | 208945cced51e7e00cdf4560da9cdc071120ea9d /arch/arm/mach-kirkwood | |
parent | 28a2b45054f2e3f3671e36a6e9efc82756afa31a (diff) | |
download | talos-op-linux-f6eaccb30fb4381da05e1e04f7fb9b956ab22826.tar.gz talos-op-linux-f6eaccb30fb4381da05e1e04f7fb9b956ab22826.zip |
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')
-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, /***************************************************************************** * SoC RTC ****************************************************************************/ -static struct resource kirkwood_rtc_resource = { - .start = RTC_PHYS_BASE, - .end = RTC_PHYS_BASE + SZ_16 - 1, - .flags = IORESOURCE_MEM, -}; - static void __init kirkwood_rtc_init(void) { - platform_device_register_simple("rtc-mv", -1, &kirkwood_rtc_resource, 1); + orion_rtc_init(RTC_PHYS_BASE, NO_IRQ); } |