[alsa-devel] [PATCH] ASoC: fsl: imx-audmux: Fix sparse warning
From: Fabio Estevam fabio.estevam@freescale.com
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 --- sound/soc/fsl/imx-audmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index 251f4d9..fab912e 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;
On Mon, Feb 11, 2013 at 01:39:08PM -0200, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@freescale.com
Fix the following sparse warning:
Applied, thanks.
participants (2)
-
Fabio Estevam
-
Mark Brown