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-mmp/aspenite.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-mmp/aspenite.c')
| -rw-r--r-- | arch/arm/mach-mmp/aspenite.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c index 4681bedbe788..06b5fa853c93 100644 --- a/arch/arm/mach-mmp/aspenite.c +++ b/arch/arm/mach-mmp/aspenite.c | |||
| @@ -237,8 +237,6 @@ static void __init common_init(void) | |||
| 237 | } | 237 | } |
| 238 | 238 | ||
| 239 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") | 239 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") |
| 240 | .phys_io = APB_PHYS_BASE, | ||
| 241 | .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc, | ||
| 242 | .map_io = mmp_map_io, | 240 | .map_io = mmp_map_io, |
| 243 | .nr_irqs = IRQ_BOARD_START, | 241 | .nr_irqs = IRQ_BOARD_START, |
| 244 | .init_irq = pxa168_init_irq, | 242 | .init_irq = pxa168_init_irq, |
| @@ -247,8 +245,6 @@ MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") | |||
| 247 | MACHINE_END | 245 | MACHINE_END |
| 248 | 246 | ||
| 249 | MACHINE_START(ZYLONITE2, "PXA168-based Zylonite2 Development Platform") | 247 | MACHINE_START(ZYLONITE2, "PXA168-based Zylonite2 Development Platform") |
| 250 | .phys_io = APB_PHYS_BASE, | ||
| 251 | .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc, | ||
| 252 | .map_io = mmp_map_io, | 248 | .map_io = mmp_map_io, |
| 253 | .nr_irqs = IRQ_BOARD_START, | 249 | .nr_irqs = IRQ_BOARD_START, |
| 254 | .init_irq = pxa168_init_irq, | 250 | .init_irq = pxa168_init_irq, |
