aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-dove
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2011-05-15 07:32:42 -0400
committerNicolas Pitre <nico@fluxnic.net>2011-05-16 14:53:06 -0400
commitf6eaccb30fb4381da05e1e04f7fb9b956ab22826 (patch)
tree208945cced51e7e00cdf4560da9cdc071120ea9d /arch/arm/mach-dove
parent28a2b45054f2e3f3671e36a6e9efc82756afa31a (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-dove')
-rw-r--r--arch/arm/mach-dove/common.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index fffa92e92d6c..8a414cb71a23 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -205,20 +205,9 @@ void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
205/***************************************************************************** 205/*****************************************************************************
206 * SoC RTC 206 * SoC RTC
207 ****************************************************************************/ 207 ****************************************************************************/
208static struct resource dove_rtc_resource[] = {
209 {
210 .start = DOVE_RTC_PHYS_BASE,
211 .end = DOVE_RTC_PHYS_BASE + 32 - 1,
212 .flags = IORESOURCE_MEM,
213 }, {
214 .start = IRQ_DOVE_RTC,
215 .flags = IORESOURCE_IRQ,
216 }
217};
218
219void __init dove_rtc_init(void) 208void __init dove_rtc_init(void)
220{ 209{
221 platform_device_register_simple("rtc-mv", -1, dove_rtc_resource, 2); 210 orion_rtc_init(DOVE_RTC_PHYS_BASE, IRQ_DOVE_RTC);
222} 211}
223 212
224/***************************************************************************** 213/*****************************************************************************