diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-12-18 05:08:55 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-12-18 10:40:11 -0500 |
commit | 9d631b835f518848b7f3ce803bfd00dc1bb8a5b1 (patch) | |
tree | 06fbe8adf4b7959454c07f1e6cc86a8bbb04a67c /arch/arm/mach-mx1 | |
parent | 7c99502383713f1a59c35fbe14db8364e4052286 (diff) |
[ARM] MXC: remove dependency to other include files from irqs.h
This patch removes the inclusion of mach/hardware.h from mach/irqs.h and
switches to more meaningful names for the irq related macros.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx1')
-rw-r--r-- | arch/arm/mach-mx1/devices.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mx1/devices.c b/arch/arm/mach-mx1/devices.c index ad4679b90870..686d8d2dbb24 100644 --- a/arch/arm/mach-mx1/devices.c +++ b/arch/arm/mach-mx1/devices.c | |||
@@ -232,25 +232,25 @@ static struct mxc_gpio_port imx_gpio_ports[] = { | |||
232 | .chip.label = "gpio-0", | 232 | .chip.label = "gpio-0", |
233 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR), | 233 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR), |
234 | .irq = GPIO_INT_PORTA, | 234 | .irq = GPIO_INT_PORTA, |
235 | .virtual_irq_start = MXC_MAX_INT_LINES | 235 | .virtual_irq_start = MXC_GPIO_IRQ_START |
236 | }, | 236 | }, |
237 | [1] = { | 237 | [1] = { |
238 | .chip.label = "gpio-1", | 238 | .chip.label = "gpio-1", |
239 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x100), | 239 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x100), |
240 | .irq = GPIO_INT_PORTB, | 240 | .irq = GPIO_INT_PORTB, |
241 | .virtual_irq_start = MXC_MAX_INT_LINES + 32 | 241 | .virtual_irq_start = MXC_GPIO_IRQ_START + 32 |
242 | }, | 242 | }, |
243 | [2] = { | 243 | [2] = { |
244 | .chip.label = "gpio-2", | 244 | .chip.label = "gpio-2", |
245 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x200), | 245 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x200), |
246 | .irq = GPIO_INT_PORTC, | 246 | .irq = GPIO_INT_PORTC, |
247 | .virtual_irq_start = MXC_MAX_INT_LINES + 64 | 247 | .virtual_irq_start = MXC_GPIO_IRQ_START + 64 |
248 | }, | 248 | }, |
249 | [3] = { | 249 | [3] = { |
250 | .chip.label = "gpio-3", | 250 | .chip.label = "gpio-3", |
251 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x300), | 251 | .base = (void __iomem *)IO_ADDRESS(GPIO_BASE_ADDR + 0x300), |
252 | .irq = GPIO_INT_PORTD, | 252 | .irq = GPIO_INT_PORTD, |
253 | .virtual_irq_start = MXC_MAX_INT_LINES + 96 | 253 | .virtual_irq_start = MXC_GPIO_IRQ_START + 96 |
254 | } | 254 | } |
255 | }; | 255 | }; |
256 | 256 | ||