diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-10-25 09:54:58 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 02:58:10 -0500 |
commit | cf3a6aba2f8402d4e45f7f263a0e69f779cd1bdc (patch) | |
tree | b5b08375df395aff49d74810fc4b581d6a57cea6 /arch/arm/mach-imx | |
parent | 08ff97b5214143c3bd47add6ec49097cb848120a (diff) |
ARM: imx: remove last explicit users of virtual base address defines
This allows changing the mapping without the need to adapt all users.
While at it remove some unneeded casts to void __iomem *, this is already
taken care for in the IO_ADDRESS macros
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/devices.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c index fba5047de8b1..e69e46eac45d 100644 --- a/arch/arm/mach-imx/devices.c +++ b/arch/arm/mach-imx/devices.c | |||
@@ -159,22 +159,22 @@ struct platform_device imx_usb_device = { | |||
159 | static struct mxc_gpio_port imx_gpio_ports[] = { | 159 | static struct mxc_gpio_port imx_gpio_ports[] = { |
160 | { | 160 | { |
161 | .chip.label = "gpio-0", | 161 | .chip.label = "gpio-0", |
162 | .base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR), | 162 | .base = MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR), |
163 | .irq = MX1_GPIO_INT_PORTA, | 163 | .irq = MX1_GPIO_INT_PORTA, |
164 | .virtual_irq_start = MXC_GPIO_IRQ_START, | 164 | .virtual_irq_start = MXC_GPIO_IRQ_START, |
165 | }, { | 165 | }, { |
166 | .chip.label = "gpio-1", | 166 | .chip.label = "gpio-1", |
167 | .base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x100), | 167 | .base = MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x100), |
168 | .irq = MX1_GPIO_INT_PORTB, | 168 | .irq = MX1_GPIO_INT_PORTB, |
169 | .virtual_irq_start = MXC_GPIO_IRQ_START + 32, | 169 | .virtual_irq_start = MXC_GPIO_IRQ_START + 32, |
170 | }, { | 170 | }, { |
171 | .chip.label = "gpio-2", | 171 | .chip.label = "gpio-2", |
172 | .base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x200), | 172 | .base = MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x200), |
173 | .irq = MX1_GPIO_INT_PORTC, | 173 | .irq = MX1_GPIO_INT_PORTC, |
174 | .virtual_irq_start = MXC_GPIO_IRQ_START + 64, | 174 | .virtual_irq_start = MXC_GPIO_IRQ_START + 64, |
175 | }, { | 175 | }, { |
176 | .chip.label = "gpio-3", | 176 | .chip.label = "gpio-3", |
177 | .base = (void __iomem *)MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x300), | 177 | .base = MX1_IO_ADDRESS(MX1_GPIO_BASE_ADDR + 0x300), |
178 | .irq = MX1_GPIO_INT_PORTD, | 178 | .irq = MX1_GPIO_INT_PORTD, |
179 | .virtual_irq_start = MXC_GPIO_IRQ_START + 96, | 179 | .virtual_irq_start = MXC_GPIO_IRQ_START + 96, |
180 | } | 180 | } |