diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2010-10-14 22:21:46 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-10-20 00:27:46 -0400 |
commit | 6451d7783ba5ff24eb1a544eaa6665b890f30466 (patch) | |
tree | 78651bbbed163fe933cd42deabebad682d7c03dc /arch/arm/mach-ixp4xx/ixdp425-setup.c | |
parent | c293393faa8e11a5a80a9e358718432b8697f451 (diff) |
arm: remove machine_desc.io_pg_offst and .phys_io
Since we're now using addruart to establish the debug mapping, we can
remove the io_pg_offst and phys_io members of struct machine_desc.
The various declarations were removed using the following script:
grep -rl MACHINE_START arch/arm | xargs \
sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
[ Initial patch was from Jeremy Kerr, example script from Russell King ]
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Eric Miao <eric.miao at canonical.com>
Diffstat (limited to 'arch/arm/mach-ixp4xx/ixdp425-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/ixdp425-setup.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c index ea9ee4ed0a3e..140783386785 100644 --- a/arch/arm/mach-ixp4xx/ixdp425-setup.c +++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c | |||
@@ -257,8 +257,6 @@ static void __init ixdp425_init(void) | |||
257 | #ifdef CONFIG_ARCH_IXDP425 | 257 | #ifdef CONFIG_ARCH_IXDP425 |
258 | MACHINE_START(IXDP425, "Intel IXDP425 Development Platform") | 258 | MACHINE_START(IXDP425, "Intel IXDP425 Development Platform") |
259 | /* Maintainer: MontaVista Software, Inc. */ | 259 | /* Maintainer: MontaVista Software, Inc. */ |
260 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | ||
261 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | ||
262 | .map_io = ixp4xx_map_io, | 260 | .map_io = ixp4xx_map_io, |
263 | .init_irq = ixp4xx_init_irq, | 261 | .init_irq = ixp4xx_init_irq, |
264 | .timer = &ixp4xx_timer, | 262 | .timer = &ixp4xx_timer, |
@@ -270,8 +268,6 @@ MACHINE_END | |||
270 | #ifdef CONFIG_MACH_IXDP465 | 268 | #ifdef CONFIG_MACH_IXDP465 |
271 | MACHINE_START(IXDP465, "Intel IXDP465 Development Platform") | 269 | MACHINE_START(IXDP465, "Intel IXDP465 Development Platform") |
272 | /* Maintainer: MontaVista Software, Inc. */ | 270 | /* Maintainer: MontaVista Software, Inc. */ |
273 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | ||
274 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | ||
275 | .map_io = ixp4xx_map_io, | 271 | .map_io = ixp4xx_map_io, |
276 | .init_irq = ixp4xx_init_irq, | 272 | .init_irq = ixp4xx_init_irq, |
277 | .timer = &ixp4xx_timer, | 273 | .timer = &ixp4xx_timer, |
@@ -283,8 +279,6 @@ MACHINE_END | |||
283 | #ifdef CONFIG_ARCH_PRPMC1100 | 279 | #ifdef CONFIG_ARCH_PRPMC1100 |
284 | MACHINE_START(IXCDP1100, "Intel IXCDP1100 Development Platform") | 280 | MACHINE_START(IXCDP1100, "Intel IXCDP1100 Development Platform") |
285 | /* Maintainer: MontaVista Software, Inc. */ | 281 | /* Maintainer: MontaVista Software, Inc. */ |
286 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | ||
287 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | ||
288 | .map_io = ixp4xx_map_io, | 282 | .map_io = ixp4xx_map_io, |
289 | .init_irq = ixp4xx_init_irq, | 283 | .init_irq = ixp4xx_init_irq, |
290 | .timer = &ixp4xx_timer, | 284 | .timer = &ixp4xx_timer, |
@@ -296,8 +290,6 @@ MACHINE_END | |||
296 | #ifdef CONFIG_MACH_KIXRP435 | 290 | #ifdef CONFIG_MACH_KIXRP435 |
297 | MACHINE_START(KIXRP435, "Intel KIXRP435 Reference Platform") | 291 | MACHINE_START(KIXRP435, "Intel KIXRP435 Reference Platform") |
298 | /* Maintainer: MontaVista Software, Inc. */ | 292 | /* Maintainer: MontaVista Software, Inc. */ |
299 | .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS, | ||
300 | .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, | ||
301 | .map_io = ixp4xx_map_io, | 293 | .map_io = ixp4xx_map_io, |
302 | .init_irq = ixp4xx_init_irq, | 294 | .init_irq = ixp4xx_init_irq, |
303 | .timer = &ixp4xx_timer, | 295 | .timer = &ixp4xx_timer, |