Patchwork [1/2] ARM: imx: irq-common: Include header to avoid sparse warning

login
register
mail settings
Submitter Fabio Estevam
Date May 24, 2013, 7:55 p.m.
Message ID <1369425342-20153-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/246281/
State New
Headers show

Comments

Fabio Estevam - May 24, 2013, 7:55 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

Fix the following sparse warning:

arch/arm/mach-imx/irq-common.c:24:5: warning: symbol 'mxc_set_irq_fiq' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/irq-common.c | 1 +
 1 file changed, 1 insertion(+)
Shawn Guo - May 27, 2013, 7:16 a.m.
On Fri, May 24, 2013 at 04:55:41PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Fix the following sparse warning:
> 
> arch/arm/mach-imx/irq-common.c:24:5: warning: symbol 'mxc_set_irq_fiq' was not declared. Should it be static?
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Both applied, thanks.

Patch

diff --git a/arch/arm/mach-imx/irq-common.c b/arch/arm/mach-imx/irq-common.c
index 4b34f52..0a920d1 100644
--- a/arch/arm/mach-imx/irq-common.c
+++ b/arch/arm/mach-imx/irq-common.c
@@ -18,6 +18,7 @@ 
 
 #include <linux/module.h>
 #include <linux/irq.h>
+#include <linux/platform_data/asoc-imx-ssi.h>
 
 #include "irq-common.h"