diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-03 02:46:56 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 12:50:02 -0400 |
commit | d48fd006e6d9394e9abd14f4747034f73bb6a386 (patch) | |
tree | fab3577a596c9f81268f37cf71bf07a67da39e78 /arch/arm/mach-ux500/board-mop500.c | |
parent | d67d1127a625cc5ebc3802180b19cc74f35b5578 (diff) |
ARM: 6082/1: ux500: put common devices into devices.c
Introduce devices.c, for placing devices common among Ux500 SoCs. Start
with the PL031 device.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 9ca47095db76..cc52d53d7727 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -107,18 +107,6 @@ static struct amba_device pl022_device = { | |||
107 | .periphid = SSP_PER_ID, | 107 | .periphid = SSP_PER_ID, |
108 | }; | 108 | }; |
109 | 109 | ||
110 | static struct amba_device pl031_device = { | ||
111 | .dev = { | ||
112 | .init_name = "pl031", | ||
113 | }, | ||
114 | .res = { | ||
115 | .start = U8500_RTC_BASE, | ||
116 | .end = U8500_RTC_BASE + SZ_4K - 1, | ||
117 | .flags = IORESOURCE_MEM, | ||
118 | }, | ||
119 | .irq = {IRQ_RTC_RTT, NO_IRQ}, | ||
120 | }; | ||
121 | |||
122 | #define U8500_I2C_RESOURCES(id, size) \ | 110 | #define U8500_I2C_RESOURCES(id, size) \ |
123 | static struct resource u8500_i2c_resources_##id[] = { \ | 111 | static struct resource u8500_i2c_resources_##id[] = { \ |
124 | [0] = { \ | 112 | [0] = { \ |
@@ -188,7 +176,6 @@ static struct amba_device *amba_devs[] __initdata = { | |||
188 | &uart1_device, | 176 | &uart1_device, |
189 | &uart2_device, | 177 | &uart2_device, |
190 | &pl022_device, | 178 | &pl022_device, |
191 | &pl031_device, | ||
192 | }; | 179 | }; |
193 | 180 | ||
194 | /* add any platform devices here - TODO */ | 181 | /* add any platform devices here - TODO */ |