diff options
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 2deec1749e0c..6f6893e38ffc 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -19,8 +19,6 @@ | |||
19 | #include <linux/of.h> | 19 | #include <linux/of.h> |
20 | #include <linux/platform_data/omap4-keypad.h> | 20 | #include <linux/platform_data/omap4-keypad.h> |
21 | 21 | ||
22 | #include <mach/hardware.h> | ||
23 | #include <mach/irqs.h> | ||
24 | #include <asm/mach-types.h> | 22 | #include <asm/mach-types.h> |
25 | #include <asm/mach/map.h> | 23 | #include <asm/mach/map.h> |
26 | 24 | ||
@@ -30,6 +28,8 @@ | |||
30 | #include <plat/omap_device.h> | 28 | #include <plat/omap_device.h> |
31 | #include <plat/omap4-keypad.h> | 29 | #include <plat/omap4-keypad.h> |
32 | 30 | ||
31 | #include "soc.h" | ||
32 | #include "common.h" | ||
33 | #include "mux.h" | 33 | #include "mux.h" |
34 | #include "control.h" | 34 | #include "control.h" |
35 | #include "devices.h" | 35 | #include "devices.h" |
@@ -110,7 +110,7 @@ static struct resource omap2cam_resources[] = { | |||
110 | .flags = IORESOURCE_MEM, | 110 | .flags = IORESOURCE_MEM, |
111 | }, | 111 | }, |
112 | { | 112 | { |
113 | .start = INT_24XX_CAM_IRQ, | 113 | .start = 24 + OMAP_INTC_START, |
114 | .flags = IORESOURCE_IRQ, | 114 | .flags = IORESOURCE_IRQ, |
115 | } | 115 | } |
116 | }; | 116 | }; |
@@ -199,7 +199,7 @@ static struct resource omap3isp_resources[] = { | |||
199 | .flags = IORESOURCE_MEM, | 199 | .flags = IORESOURCE_MEM, |
200 | }, | 200 | }, |
201 | { | 201 | { |
202 | .start = INT_34XX_CAM_IRQ, | 202 | .start = 24 + OMAP_INTC_START, |
203 | .flags = IORESOURCE_IRQ, | 203 | .flags = IORESOURCE_IRQ, |
204 | } | 204 | } |
205 | }; | 205 | }; |
@@ -433,14 +433,12 @@ static inline void omap_init_mcspi(void) {} | |||
433 | #endif | 433 | #endif |
434 | 434 | ||
435 | static struct resource omap2_pmu_resource = { | 435 | static struct resource omap2_pmu_resource = { |
436 | .start = 3, | 436 | .start = 3 + OMAP_INTC_START, |
437 | .end = 3, | ||
438 | .flags = IORESOURCE_IRQ, | 437 | .flags = IORESOURCE_IRQ, |
439 | }; | 438 | }; |
440 | 439 | ||
441 | static struct resource omap3_pmu_resource = { | 440 | static struct resource omap3_pmu_resource = { |
442 | .start = INT_34XX_BENCH_MPU_EMUL, | 441 | .start = 3 + OMAP_INTC_START, |
443 | .end = INT_34XX_BENCH_MPU_EMUL, | ||
444 | .flags = IORESOURCE_IRQ, | 442 | .flags = IORESOURCE_IRQ, |
445 | }; | 443 | }; |
446 | 444 | ||
@@ -473,7 +471,7 @@ static struct resource omap2_sham_resources[] = { | |||
473 | .flags = IORESOURCE_MEM, | 471 | .flags = IORESOURCE_MEM, |
474 | }, | 472 | }, |
475 | { | 473 | { |
476 | .start = INT_24XX_SHA1MD5, | 474 | .start = 51 + OMAP_INTC_START, |
477 | .flags = IORESOURCE_IRQ, | 475 | .flags = IORESOURCE_IRQ, |
478 | } | 476 | } |
479 | }; | 477 | }; |
@@ -491,7 +489,7 @@ static struct resource omap3_sham_resources[] = { | |||
491 | .flags = IORESOURCE_MEM, | 489 | .flags = IORESOURCE_MEM, |
492 | }, | 490 | }, |
493 | { | 491 | { |
494 | .start = INT_34XX_SHA1MD52_IRQ, | 492 | .start = 49 + OMAP_INTC_START, |
495 | .flags = IORESOURCE_IRQ, | 493 | .flags = IORESOURCE_IRQ, |
496 | }, | 494 | }, |
497 | { | 495 | { |