diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-09-16 22:16:44 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-10-15 10:05:43 +0800 |
commit | 1e66210a3135b544713a9455e78e36f6f8d1bf77 (patch) | |
tree | 9dc3e005f2751eb903449ec55ca8650cfea1baa3 /include/linux/platform_data/asoc-imx-ssi.h | |
parent | 50f2de61269bbe2f40bead1969a9594fa8599b93 (diff) | |
download | blackbird-op-linux-1e66210a3135b544713a9455e78e36f6f8d1bf77.tar.gz blackbird-op-linux-1e66210a3135b544713a9455e78e36f6f8d1bf77.zip |
ARM: imx: remove header file mach/irqs.h
The only mach/irqs.h user outside arch/arm/mach-imx is
sound/soc/fsl/imx-pcm-fiq.c, which refers to mxc_set_irq_fiq().
Move the declaration into include/linux/platform_data/asoc-imx-ssi.h,
so that we can remove mach/irqs.h includsion from imx-pcm-fiq.c.
Inside arch/arm/mach-imx, the only users to mach/irqs.h are avic.c
and tzic.c for referring to macro FIQ_START. Let's move the macro
into irq-common.h and get rid of mach/irqs.h completely.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Diffstat (limited to 'include/linux/platform_data/asoc-imx-ssi.h')
-rw-r--r-- | include/linux/platform_data/asoc-imx-ssi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/asoc-imx-ssi.h b/include/linux/platform_data/asoc-imx-ssi.h index 63f3c2804239..92c7fd72f636 100644 --- a/include/linux/platform_data/asoc-imx-ssi.h +++ b/include/linux/platform_data/asoc-imx-ssi.h @@ -17,5 +17,7 @@ struct imx_ssi_platform_data { void (*ac97_warm_reset)(struct snd_ac97 *ac97); }; +extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type); + #endif /* __MACH_SSI_H */ |