ASoC: fsl: imx-audmux: Fix sparse warning
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 11 Feb 2013 15:39:08 +0000 (13:39 -0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Feb 2013 16:54:30 +0000 (16:54 +0000)
Fix the following sparse warning:

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

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/imx-audmux.c

index 251f4d981e0c6e8882c6f0d9c23efad821e87e05..fab912ea7a5098e7d168eafd236792918a043727 100644 (file)
@@ -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;