ASoC: atmel-pdmic: mark symbols static where possible
authorBaoyou Xie <baoyou.xie@linaro.org>
Thu, 11 Aug 2016 06:38:11 +0000 (14:38 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 11 Aug 2016 14:02:16 +0000 (15:02 +0100)
commit6b0ffacdaf549d66a0c2a838d68f18495980def4
tree4b65935d8680917b044a27b067b5071f4bcdab97
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ASoC: atmel-pdmic: mark symbols static where possible

We get 1 warning about global functions without a declaration
in the ASoC atmel-pdmic driver when building with W=1:
sound/soc/atmel/atmel-pdmic.c:286:5: warning: no previous prototype for 'pdmic_get_mic_volsw' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel-pdmic.c