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-pxa/em-x270.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-pxa/em-x270.c')
-rw-r--r-- | arch/arm/mach-pxa/em-x270.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 51286a738a3b..ab48bb81b570 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -1301,8 +1301,6 @@ static void __init em_x270_init(void) | |||
1301 | 1301 | ||
1302 | MACHINE_START(EM_X270, "Compulab EM-X270") | 1302 | MACHINE_START(EM_X270, "Compulab EM-X270") |
1303 | .boot_params = 0xa0000100, | 1303 | .boot_params = 0xa0000100, |
1304 | .phys_io = 0x40000000, | ||
1305 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
1306 | .map_io = pxa_map_io, | 1304 | .map_io = pxa_map_io, |
1307 | .init_irq = pxa27x_init_irq, | 1305 | .init_irq = pxa27x_init_irq, |
1308 | .timer = &pxa_timer, | 1306 | .timer = &pxa_timer, |
@@ -1311,8 +1309,6 @@ MACHINE_END | |||
1311 | 1309 | ||
1312 | MACHINE_START(EXEDA, "Compulab eXeda") | 1310 | MACHINE_START(EXEDA, "Compulab eXeda") |
1313 | .boot_params = 0xa0000100, | 1311 | .boot_params = 0xa0000100, |
1314 | .phys_io = 0x40000000, | ||
1315 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
1316 | .map_io = pxa_map_io, | 1312 | .map_io = pxa_map_io, |
1317 | .init_irq = pxa27x_init_irq, | 1313 | .init_irq = pxa27x_init_irq, |
1318 | .timer = &pxa_timer, | 1314 | .timer = &pxa_timer, |