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-ks8695 | |
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-ks8695')
-rw-r--r-- | arch/arm/mach-ks8695/board-acs5k.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ks8695/board-dsm320.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ks8695/board-micrel.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-ks8695/board-acs5k.c b/arch/arm/mach-ks8695/board-acs5k.c index 9e3e5a640ad2..3ca4f8e6f54f 100644 --- a/arch/arm/mach-ks8695/board-acs5k.c +++ b/arch/arm/mach-ks8695/board-acs5k.c | |||
@@ -223,8 +223,6 @@ static void __init acs5k_init(void) | |||
223 | 223 | ||
224 | MACHINE_START(ACS5K, "Brivo Systems LLC ACS-5000 Master board") | 224 | MACHINE_START(ACS5K, "Brivo Systems LLC ACS-5000 Master board") |
225 | /* Maintainer: Simtec Electronics. */ | 225 | /* Maintainer: Simtec Electronics. */ |
226 | .phys_io = KS8695_IO_PA, | ||
227 | .io_pg_offst = (KS8695_IO_VA >> 18) & 0xfffc, | ||
228 | .boot_params = KS8695_SDRAM_PA + 0x100, | 226 | .boot_params = KS8695_SDRAM_PA + 0x100, |
229 | .map_io = ks8695_map_io, | 227 | .map_io = ks8695_map_io, |
230 | .init_irq = ks8695_init_irq, | 228 | .init_irq = ks8695_init_irq, |
diff --git a/arch/arm/mach-ks8695/board-dsm320.c b/arch/arm/mach-ks8695/board-dsm320.c index 521ff0789f39..ada92b6bed24 100644 --- a/arch/arm/mach-ks8695/board-dsm320.c +++ b/arch/arm/mach-ks8695/board-dsm320.c | |||
@@ -121,8 +121,6 @@ static void __init dsm320_init(void) | |||
121 | 121 | ||
122 | MACHINE_START(DSM320, "D-Link DSM-320 Wireless Media Player") | 122 | MACHINE_START(DSM320, "D-Link DSM-320 Wireless Media Player") |
123 | /* Maintainer: Simtec Electronics. */ | 123 | /* Maintainer: Simtec Electronics. */ |
124 | .phys_io = KS8695_IO_PA, | ||
125 | .io_pg_offst = (KS8695_IO_VA >> 18) & 0xfffc, | ||
126 | .boot_params = KS8695_SDRAM_PA + 0x100, | 124 | .boot_params = KS8695_SDRAM_PA + 0x100, |
127 | .map_io = ks8695_map_io, | 125 | .map_io = ks8695_map_io, |
128 | .init_irq = ks8695_init_irq, | 126 | .init_irq = ks8695_init_irq, |
diff --git a/arch/arm/mach-ks8695/board-micrel.c b/arch/arm/mach-ks8695/board-micrel.c index 8ceaf5ac6e2c..c7ad09bd6ea2 100644 --- a/arch/arm/mach-ks8695/board-micrel.c +++ b/arch/arm/mach-ks8695/board-micrel.c | |||
@@ -53,8 +53,6 @@ static void __init micrel_init(void) | |||
53 | 53 | ||
54 | MACHINE_START(KS8695, "KS8695 Centaur Development Board") | 54 | MACHINE_START(KS8695, "KS8695 Centaur Development Board") |
55 | /* Maintainer: Micrel Semiconductor Inc. */ | 55 | /* Maintainer: Micrel Semiconductor Inc. */ |
56 | .phys_io = KS8695_IO_PA, | ||
57 | .io_pg_offst = (KS8695_IO_VA >> 18) & 0xfffc, | ||
58 | .boot_params = KS8695_SDRAM_PA + 0x100, | 56 | .boot_params = KS8695_SDRAM_PA + 0x100, |
59 | .map_io = ks8695_map_io, | 57 | .map_io = ks8695_map_io, |
60 | .init_irq = ks8695_init_irq, | 58 | .init_irq = ks8695_init_irq, |