summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mx1_camera.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-14 11:16:14 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-07-01 21:59:20 +0800
commit8842a9e2869cae14bbb8184004a42fc3070587fb (patch)
treee63d511de20e0e0d77d2f4d42c6c5c41cb7392bf /drivers/media/video/mx1_camera.c
parentbc89663aa5c7ca620f58c34ab531ca409119becc (diff)
downloadlinux-8842a9e2869cae14bbb8184004a42fc3070587fb.tar.gz
linux-8842a9e2869cae14bbb8184004a42fc3070587fb.tar.bz2
linux-8842a9e2869cae14bbb8184004a42fc3070587fb.zip
ARM: imx: enable SPARSE_IRQ for imx platform
As all irqchips on imx have been changed to allocate their irq_descs, and all unneeded mach/irqs.h inclusions on imx have been cleaned up, now it's time to select SPARSE_IRQ for imx/mxc. The SPARSE_IRQ support forces irqs allocation starting from 16. All those static irq number definition for SoCs need to shift 16 to keep non-DT boot works. With all those static IRQ number and start definitions removed from mach/irqs.h, the header becomes just a container of a couple of mach-imx specific irq/fiq calls. Since mach/irqs.h is not included by asm/irq.h now, the users of mxc_set_irq_fiq needs to explicitly include mach/irqs.h themselves. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/media/video/mx1_camera.c')
-rw-r--r--drivers/media/video/mx1_camera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/mx1_camera.c b/drivers/media/video/mx1_camera.c
index 4296a8350298..d2e6f82ecfac 100644
--- a/drivers/media/video/mx1_camera.c
+++ b/drivers/media/video/mx1_camera.c
@@ -43,6 +43,7 @@
#include <asm/fiq.h>
#include <mach/dma-mx1-mx2.h>
#include <mach/hardware.h>
+#include <mach/irqs.h>
#include <mach/mx1_camera.h>
/*