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-mx2 | |
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-mx2')
-rw-r--r-- | arch/arm/mach-mx2/devices.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-mx2/devices.c b/arch/arm/mach-mx2/devices.c index 0bad86527743..af121f5ab710 100644 --- a/arch/arm/mach-mx2/devices.c +++ b/arch/arm/mach-mx2/devices.c | |||
@@ -230,32 +230,32 @@ static struct mxc_gpio_port imx_gpio_ports[] = { | |||
230 | .chip.label = "gpio-0", | 230 | .chip.label = "gpio-0", |
231 | .irq = MXC_INT_GPIO, | 231 | .irq = MXC_INT_GPIO, |
232 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 0), | 232 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 0), |
233 | .virtual_irq_start = MXC_MAX_INT_LINES, | 233 | .virtual_irq_start = MXC_GPIO_IRQ_START, |
234 | }, | 234 | }, |
235 | [1] = { | 235 | [1] = { |
236 | .chip.label = "gpio-1", | 236 | .chip.label = "gpio-1", |
237 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 1), | 237 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 1), |
238 | .virtual_irq_start = MXC_MAX_INT_LINES + 32, | 238 | .virtual_irq_start = MXC_GPIO_IRQ_START + 32, |
239 | }, | 239 | }, |
240 | [2] = { | 240 | [2] = { |
241 | .chip.label = "gpio-2", | 241 | .chip.label = "gpio-2", |
242 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 2), | 242 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 2), |
243 | .virtual_irq_start = MXC_MAX_INT_LINES + 64, | 243 | .virtual_irq_start = MXC_GPIO_IRQ_START + 64, |
244 | }, | 244 | }, |
245 | [3] = { | 245 | [3] = { |
246 | .chip.label = "gpio-3", | 246 | .chip.label = "gpio-3", |
247 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 3), | 247 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 3), |
248 | .virtual_irq_start = MXC_MAX_INT_LINES + 96, | 248 | .virtual_irq_start = MXC_GPIO_IRQ_START + 96, |
249 | }, | 249 | }, |
250 | [4] = { | 250 | [4] = { |
251 | .chip.label = "gpio-4", | 251 | .chip.label = "gpio-4", |
252 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 4), | 252 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 4), |
253 | .virtual_irq_start = MXC_MAX_INT_LINES + 128, | 253 | .virtual_irq_start = MXC_GPIO_IRQ_START + 128, |
254 | }, | 254 | }, |
255 | [5] = { | 255 | [5] = { |
256 | .chip.label = "gpio-5", | 256 | .chip.label = "gpio-5", |
257 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 5), | 257 | .base = (void*)(AIPI_BASE_ADDR_VIRT + 0x15000 + 0x100 * 5), |
258 | .virtual_irq_start = MXC_MAX_INT_LINES + 160, | 258 | .virtual_irq_start = MXC_GPIO_IRQ_START + 160, |
259 | } | 259 | } |
260 | }; | 260 | }; |
261 | 261 | ||