summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max9867.c
diff options
context:
space:
mode:
authorBaoyou Xie2016-08-11 08:38:12 +0200
committerMark Brown2016-08-11 16:02:28 +0200
commit22e766146a5ae744b0e95d80f663a9aab9c189fb (patch)
treeb49328188c4746282536054e77e03254c8fe2f92 /sound/soc/codecs/max9867.c
parentLinux 4.8-rc1 (diff)
downloadkernel-qcow2-linux-22e766146a5ae744b0e95d80f663a9aab9c189fb.tar.gz
kernel-qcow2-linux-22e766146a5ae744b0e95d80f663a9aab9c189fb.tar.xz
kernel-qcow2-linux-22e766146a5ae744b0e95d80f663a9aab9c189fb.zip
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>
Diffstat (limited to 'sound/soc/codecs/max9867.c')
0 files changed, 0 insertions, 0 deletions