From: Fabio Estevam Date: Mon, 11 Feb 2013 15:39:08 +0000 (-0200) Subject: ASoC: fsl: imx-audmux: Fix sparse warning X-Git-Tag: v3.9-rc1~52^2~16^2~3^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a10807aef5cab5568e70a2d1597305999d93f85d;p=linux-block.git ASoC: fsl: imx-audmux: Fix sparse warning 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index 251f4d981e0c..fab912ea7a50 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c @@ -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;