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-iop32x | |
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-iop32x')
-rw-r--r-- | arch/arm/mach-iop32x/em7210.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop32x/glantank.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop32x/iq31244.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-iop32x/iq80321.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop32x/n2100.c | 2 |
5 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-iop32x/em7210.c b/arch/arm/mach-iop32x/em7210.c index 2bef9b6e1cc9..779f924af302 100644 --- a/arch/arm/mach-iop32x/em7210.c +++ b/arch/arm/mach-iop32x/em7210.c | |||
@@ -203,8 +203,6 @@ static void __init em7210_init_machine(void) | |||
203 | } | 203 | } |
204 | 204 | ||
205 | MACHINE_START(EM7210, "Lanner EM7210") | 205 | MACHINE_START(EM7210, "Lanner EM7210") |
206 | .phys_io = IQ31244_UART, | ||
207 | .io_pg_offst = ((IQ31244_UART) >> 18) & 0xfffc, | ||
208 | .boot_params = 0xa0000100, | 206 | .boot_params = 0xa0000100, |
209 | .map_io = em7210_map_io, | 207 | .map_io = em7210_map_io, |
210 | .init_irq = iop32x_init_irq, | 208 | .init_irq = iop32x_init_irq, |
diff --git a/arch/arm/mach-iop32x/glantank.c b/arch/arm/mach-iop32x/glantank.c index 10384fc37cb2..c6b6f9c5650d 100644 --- a/arch/arm/mach-iop32x/glantank.c +++ b/arch/arm/mach-iop32x/glantank.c | |||
@@ -207,8 +207,6 @@ static void __init glantank_init_machine(void) | |||
207 | 207 | ||
208 | MACHINE_START(GLANTANK, "GLAN Tank") | 208 | MACHINE_START(GLANTANK, "GLAN Tank") |
209 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 209 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
210 | .phys_io = GLANTANK_UART, | ||
211 | .io_pg_offst = ((GLANTANK_UART) >> 18) & 0xfffc, | ||
212 | .boot_params = 0xa0000100, | 210 | .boot_params = 0xa0000100, |
213 | .map_io = glantank_map_io, | 211 | .map_io = glantank_map_io, |
214 | .init_irq = iop32x_init_irq, | 212 | .init_irq = iop32x_init_irq, |
diff --git a/arch/arm/mach-iop32x/iq31244.c b/arch/arm/mach-iop32x/iq31244.c index d6ac85ff109d..fde962c057f0 100644 --- a/arch/arm/mach-iop32x/iq31244.c +++ b/arch/arm/mach-iop32x/iq31244.c | |||
@@ -313,8 +313,6 @@ __setup("force_ep80219", force_ep80219_setup); | |||
313 | 313 | ||
314 | MACHINE_START(IQ31244, "Intel IQ31244") | 314 | MACHINE_START(IQ31244, "Intel IQ31244") |
315 | /* Maintainer: Intel Corp. */ | 315 | /* Maintainer: Intel Corp. */ |
316 | .phys_io = IQ31244_UART, | ||
317 | .io_pg_offst = ((IQ31244_UART) >> 18) & 0xfffc, | ||
318 | .boot_params = 0xa0000100, | 316 | .boot_params = 0xa0000100, |
319 | .map_io = iq31244_map_io, | 317 | .map_io = iq31244_map_io, |
320 | .init_irq = iop32x_init_irq, | 318 | .init_irq = iop32x_init_irq, |
@@ -329,8 +327,6 @@ MACHINE_END | |||
329 | */ | 327 | */ |
330 | MACHINE_START(EP80219, "Intel EP80219") | 328 | MACHINE_START(EP80219, "Intel EP80219") |
331 | /* Maintainer: Intel Corp. */ | 329 | /* Maintainer: Intel Corp. */ |
332 | .phys_io = IQ31244_UART, | ||
333 | .io_pg_offst = ((IQ31244_UART) >> 18) & 0xfffc, | ||
334 | .boot_params = 0xa0000100, | 330 | .boot_params = 0xa0000100, |
335 | .map_io = iq31244_map_io, | 331 | .map_io = iq31244_map_io, |
336 | .init_irq = iop32x_init_irq, | 332 | .init_irq = iop32x_init_irq, |
diff --git a/arch/arm/mach-iop32x/iq80321.c b/arch/arm/mach-iop32x/iq80321.c index c6a0e4ee9d91..3a95950e8737 100644 --- a/arch/arm/mach-iop32x/iq80321.c +++ b/arch/arm/mach-iop32x/iq80321.c | |||
@@ -186,8 +186,6 @@ static void __init iq80321_init_machine(void) | |||
186 | 186 | ||
187 | MACHINE_START(IQ80321, "Intel IQ80321") | 187 | MACHINE_START(IQ80321, "Intel IQ80321") |
188 | /* Maintainer: Intel Corp. */ | 188 | /* Maintainer: Intel Corp. */ |
189 | .phys_io = IQ80321_UART, | ||
190 | .io_pg_offst = ((IQ80321_UART) >> 18) & 0xfffc, | ||
191 | .boot_params = 0xa0000100, | 189 | .boot_params = 0xa0000100, |
192 | .map_io = iq80321_map_io, | 190 | .map_io = iq80321_map_io, |
193 | .init_irq = iop32x_init_irq, | 191 | .init_irq = iop32x_init_irq, |
diff --git a/arch/arm/mach-iop32x/n2100.c b/arch/arm/mach-iop32x/n2100.c index f108a31afc2b..626aa375915d 100644 --- a/arch/arm/mach-iop32x/n2100.c +++ b/arch/arm/mach-iop32x/n2100.c | |||
@@ -327,8 +327,6 @@ static void __init n2100_init_machine(void) | |||
327 | 327 | ||
328 | MACHINE_START(N2100, "Thecus N2100") | 328 | MACHINE_START(N2100, "Thecus N2100") |
329 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 329 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
330 | .phys_io = N2100_UART, | ||
331 | .io_pg_offst = ((N2100_UART) >> 18) & 0xfffc, | ||
332 | .boot_params = 0xa0000100, | 330 | .boot_params = 0xa0000100, |
333 | .map_io = n2100_map_io, | 331 | .map_io = n2100_map_io, |
334 | .init_irq = iop32x_init_irq, | 332 | .init_irq = iop32x_init_irq, |