diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-18 08:38:49 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-26 14:59:18 -0500 |
commit | 9199340bf02f72eed3ca264a0989ac645b292ca6 (patch) | |
tree | 1fd828ad556d29acbda9a383f6436d5eee492989 /arch/arm/mach-realview/realview_pb11mp.c | |
parent | 8f5088b614ff83f405bc975d31abf3270b0bdfc5 (diff) |
ARM: amba: realview: get rid of private platform amba_device initializer
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_pb11mp.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index cb4f2daf58ea..43b82bc9ca8e 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -155,29 +155,29 @@ static struct pl022_ssp_controller ssp0_plat_data = { | |||
155 | #define PB11MP_SSP_IRQ { IRQ_PB11MP_SSP } | 155 | #define PB11MP_SSP_IRQ { IRQ_PB11MP_SSP } |
156 | 156 | ||
157 | /* FPGA Primecells */ | 157 | /* FPGA Primecells */ |
158 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); | 158 | APB_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
159 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); | 159 | APB_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
160 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); | 160 | APB_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
161 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); | 161 | APB_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
162 | AMBA_DEVICE(uart3, "fpga:uart3", PB11MP_UART3, NULL); | 162 | APB_DEVICE(uart3, "fpga:uart3", PB11MP_UART3, NULL); |
163 | 163 | ||
164 | /* DevChip Primecells */ | 164 | /* DevChip Primecells */ |
165 | AMBA_DEVICE(smc, "dev:smc", PB11MP_SMC, NULL); | 165 | AHB_DEVICE(smc, "dev:smc", PB11MP_SMC, NULL); |
166 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); | 166 | AHB_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
167 | AMBA_DEVICE(wdog, "dev:wdog", PB11MP_WATCHDOG, NULL); | 167 | APB_DEVICE(wdog, "dev:wdog", PB11MP_WATCHDOG, NULL); |
168 | AMBA_DEVICE(gpio0, "dev:gpio0", PB11MP_GPIO0, &gpio0_plat_data); | 168 | APB_DEVICE(gpio0, "dev:gpio0", PB11MP_GPIO0, &gpio0_plat_data); |
169 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); | 169 | APB_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
170 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); | 170 | APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
171 | AMBA_DEVICE(rtc, "dev:rtc", PB11MP_RTC, NULL); | 171 | APB_DEVICE(rtc, "dev:rtc", PB11MP_RTC, NULL); |
172 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); | 172 | APB_DEVICE(sci0, "dev:sci0", SCI, NULL); |
173 | AMBA_DEVICE(uart0, "dev:uart0", PB11MP_UART0, NULL); | 173 | APB_DEVICE(uart0, "dev:uart0", PB11MP_UART0, NULL); |
174 | AMBA_DEVICE(uart1, "dev:uart1", PB11MP_UART1, NULL); | 174 | APB_DEVICE(uart1, "dev:uart1", PB11MP_UART1, NULL); |
175 | AMBA_DEVICE(uart2, "dev:uart2", PB11MP_UART2, NULL); | 175 | APB_DEVICE(uart2, "dev:uart2", PB11MP_UART2, NULL); |
176 | AMBA_DEVICE(ssp0, "dev:ssp0", PB11MP_SSP, &ssp0_plat_data); | 176 | APB_DEVICE(ssp0, "dev:ssp0", PB11MP_SSP, &ssp0_plat_data); |
177 | 177 | ||
178 | /* Primecells on the NEC ISSP chip */ | 178 | /* Primecells on the NEC ISSP chip */ |
179 | AMBA_DEVICE(clcd, "issp:clcd", PB11MP_CLCD, &clcd_plat_data); | 179 | AHB_DEVICE(clcd, "issp:clcd", PB11MP_CLCD, &clcd_plat_data); |
180 | AMBA_DEVICE(dmac, "issp:dmac", DMAC, NULL); | 180 | AHB_DEVICE(dmac, "issp:dmac", DMAC, NULL); |
181 | 181 | ||
182 | static struct amba_device *amba_devs[] __initdata = { | 182 | static struct amba_device *amba_devs[] __initdata = { |
183 | &dmac_device, | 183 | &dmac_device, |