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-msm/board-qsd8x50.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-msm/board-qsd8x50.c')
-rw-r--r-- | arch/arm/mach-msm/board-qsd8x50.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c index d5d5e441a52d..ed2af4ad97ed 100644 --- a/arch/arm/mach-msm/board-qsd8x50.c +++ b/arch/arm/mach-msm/board-qsd8x50.c | |||
@@ -98,8 +98,6 @@ static void __init qsd8x50_init(void) | |||
98 | 98 | ||
99 | MACHINE_START(QSD8X50_SURF, "QCT QSD8X50 SURF") | 99 | MACHINE_START(QSD8X50_SURF, "QCT QSD8X50 SURF") |
100 | #ifdef CONFIG_MSM_DEBUG_UART | 100 | #ifdef CONFIG_MSM_DEBUG_UART |
101 | .phys_io = MSM_DEBUG_UART_PHYS, | ||
102 | .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc, | ||
103 | #endif | 101 | #endif |
104 | .boot_params = PHYS_OFFSET + 0x100, | 102 | .boot_params = PHYS_OFFSET + 0x100, |
105 | .map_io = qsd8x50_map_io, | 103 | .map_io = qsd8x50_map_io, |
@@ -110,8 +108,6 @@ MACHINE_END | |||
110 | 108 | ||
111 | MACHINE_START(QSD8X50A_ST1_5, "QCT QSD8X50A ST1.5") | 109 | MACHINE_START(QSD8X50A_ST1_5, "QCT QSD8X50A ST1.5") |
112 | #ifdef CONFIG_MSM_DEBUG_UART | 110 | #ifdef CONFIG_MSM_DEBUG_UART |
113 | .phys_io = MSM_DEBUG_UART_PHYS, | ||
114 | .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc, | ||
115 | #endif | 111 | #endif |
116 | .boot_params = PHYS_OFFSET + 0x100, | 112 | .boot_params = PHYS_OFFSET + 0x100, |
117 | .map_io = qsd8x50_map_io, | 113 | .map_io = qsd8x50_map_io, |