diff options
author | Tony Lindgren <tony@atomide.com> | 2012-08-28 02:43:01 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-13 03:06:30 +0200 |
commit | 7d7e1eba7e92c2f9c76db80adc24836e7a114bfb (patch) | |
tree | 9b258eaa8236d9ec15fd6a000c0ad5ef5820ff4c /sound/soc/omap/mcbsp.c | |
parent | W1: OMAP HDQ1W: Remove dependencies to mach/hardware.h (diff) | |
download | linux-7d7e1eba7e92c2f9c76db80adc24836e7a114bfb.tar.xz linux-7d7e1eba7e92c2f9c76db80adc24836e7a114bfb.zip |
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 'sound/soc/omap/mcbsp.c')
-rw-r--r-- | sound/soc/omap/mcbsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c index d33c48baaf71..f18e48847323 100644 --- a/sound/soc/omap/mcbsp.c +++ b/sound/soc/omap/mcbsp.c @@ -27,6 +27,8 @@ #include <plat/mcbsp.h> +#include <plat/cpu.h> + #include "mcbsp.h" static void omap_mcbsp_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) |