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/spitz.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/spitz.c')
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 1cd99cb87bb1..f736119f1ebf 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -979,8 +979,6 @@ static void __init spitz_fixup(struct machine_desc *desc, | |||
979 | 979 | ||
980 | #ifdef CONFIG_MACH_SPITZ | 980 | #ifdef CONFIG_MACH_SPITZ |
981 | MACHINE_START(SPITZ, "SHARP Spitz") | 981 | MACHINE_START(SPITZ, "SHARP Spitz") |
982 | .phys_io = 0x40000000, | ||
983 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
984 | .fixup = spitz_fixup, | 982 | .fixup = spitz_fixup, |
985 | .map_io = pxa_map_io, | 983 | .map_io = pxa_map_io, |
986 | .init_irq = pxa27x_init_irq, | 984 | .init_irq = pxa27x_init_irq, |
@@ -991,8 +989,6 @@ MACHINE_END | |||
991 | 989 | ||
992 | #ifdef CONFIG_MACH_BORZOI | 990 | #ifdef CONFIG_MACH_BORZOI |
993 | MACHINE_START(BORZOI, "SHARP Borzoi") | 991 | MACHINE_START(BORZOI, "SHARP Borzoi") |
994 | .phys_io = 0x40000000, | ||
995 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
996 | .fixup = spitz_fixup, | 992 | .fixup = spitz_fixup, |
997 | .map_io = pxa_map_io, | 993 | .map_io = pxa_map_io, |
998 | .init_irq = pxa27x_init_irq, | 994 | .init_irq = pxa27x_init_irq, |
@@ -1003,8 +999,6 @@ MACHINE_END | |||
1003 | 999 | ||
1004 | #ifdef CONFIG_MACH_AKITA | 1000 | #ifdef CONFIG_MACH_AKITA |
1005 | MACHINE_START(AKITA, "SHARP Akita") | 1001 | MACHINE_START(AKITA, "SHARP Akita") |
1006 | .phys_io = 0x40000000, | ||
1007 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
1008 | .fixup = spitz_fixup, | 1002 | .fixup = spitz_fixup, |
1009 | .map_io = pxa_map_io, | 1003 | .map_io = pxa_map_io, |
1010 | .init_irq = pxa27x_init_irq, | 1004 | .init_irq = pxa27x_init_irq, |