Skip to contentSkip to conversation

ASoC: fsl: imx-audmux: Fix sparse warning

PATCH Applied Fabio Estevam 2 participants 2 messages Feb 11, 2013

Subsystems (4)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ASoC: fsl: imx-audmux: Fix sparse warning

From: Fabio Estevam <[email protected]>

Fix the following sparse warning:

sound/soc/fsl/imx-audmux.c:182:3: warning: symbol 'audmux_type' was not declared. Should it be static?

---
 sound/soc/fsl/imx-audmux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/imx-audmux.c +1 -1
index 251f4d9..fab912e 100644
@@ -176,7 +176,7 @@ static inline void audmux_debugfs_remove(void)
 }
 #endif
 
-enum imx_audmux_type {
+static enum imx_audmux_type {
 	IMX21_AUDMUX,
 	IMX31_AUDMUX,
 } audmux_type;
Signature · 1 line
1.7.9.5