diff options
author | Tony Lindgren <tony@atomide.com> | 2012-08-27 20:43:01 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-12 21:06:30 -0400 |
commit | 7d7e1eba7e92c2f9c76db80adc24836e7a114bfb (patch) | |
tree | 9b258eaa8236d9ec15fd6a000c0ad5ef5820ff4c /arch/arm/mach-omap2/common.h | |
parent | aefaf7be498b9cfbd16e42932cdc52ab334241e0 (diff) |
ARM: OMAP2+: Prepare for irqs.h removal
As the interrupts should only be defined in the platform_data, and
eventually coming from device tree, there's no need to define them
in header files.
Let's remove the hardcoded references to irqs.h and fix up the includes
so we don't rely on headers included in irqs.h. Note that we're
defining OMAP_INTC_START as 0 to the interrupts. This will be needed
when we enable SPARSE_IRQ. For some drivers we need to add
#include <plat/cpu.h> for now until these drivers are fixed to
remove cpu_is_omapxxxx() usage.
While at it, sort som of the includes the standard way, and add
the trailing commas where they are missing in the related data
structures.
Note that for drivers/staging/tidspbridge we just define things
locally.
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 1f65b1871c23..7e60a69bfe61 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -31,6 +31,8 @@ | |||
31 | #include <plat/common.h> | 31 | #include <plat/common.h> |
32 | #include <asm/proc-fns.h> | 32 | #include <asm/proc-fns.h> |
33 | 33 | ||
34 | #define OMAP_INTC_START 0 | ||
35 | |||
34 | #ifdef CONFIG_SOC_OMAP2420 | 36 | #ifdef CONFIG_SOC_OMAP2420 |
35 | extern void omap242x_map_common_io(void); | 37 | extern void omap242x_map_common_io(void); |
36 | #else | 38 | #else |