OpenCloudOS-Kernel/sound/soc/mediatek
Baoyou Xie 22e766146a ASoC: mediatek: mark symbols static where possible
We get 2 warnings about global functions without a declaration
in the ASoC mediatek module when building with W=1:

sound/soc/mediatek/common/mtk-afe-fe-dai.c:26:5: warning: no previous prototype for 'mtk_regmap_update_bits' [-Wmissing-prototypes]
 int mtk_regmap_update_bits(struct regmap *map, int reg, unsigned int mask,
         ^
sound/soc/mediatek/common/mtk-afe-fe-dai.c:34:5: warning: no previous prototype for 'mtk_regmap_write' [-Wmissing-prototypes]
 int mtk_regmap_write(struct regmap *map, int reg, unsigned int val)

In fact, all of those functions are only used in the file in which
they are 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>
2016-08-11 15:02:28 +01:00
..
common ASoC: mediatek: mark symbols static where possible 2016-08-11 15:02:28 +01:00
mt2701 ASoC: mediatek: mt2701: fix non static symbol warning 2016-07-14 17:30:46 +01:00
mt8173 ASoC: mediatek: Add HDMI dai-links to the mt8173-rt5650 machine driver 2016-07-14 17:31:18 +01:00
Kconfig ASoC: mediatek: Add HDMI dai-links to the mt8173-rt5650 machine driver 2016-07-14 17:31:18 +01:00
Makefile ASoC: mediatek: Add mt2701-cs42448 driver and config option. 2016-07-04 16:49:03 +02:00