linux-sg2042/sound/soc/hisilicon
Takashi Sakamoto 2a54e845f6 ASoC: hisilicon: localize functions without external linkage
A driver for hi6210 sound interface on hi6220 boards includes some
functions which has no external linkage. These functions should have
static qualifier.

This commit adds the qualifier to localize the functions. This issue is
detected by sparse:

hi6210-i2s.c💯5: warning: symbol 'hi6210_i2s_startup' was not declared. Should it be static?
hi6210-i2s.c:178:6: warning: symbol 'hi6210_i2s_shutdown' was not declared. Should it be static?
hi6210-i2s.c:527:27: warning: symbol 'hi6210_i2s_dai_init' was not declared. Should it be static?

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-05-14 19:00:18 +09:00
..
Kconfig ASoC: hisilicon: Add hi6210 i2s audio driver 2017-04-10 19:40:13 +01:00
Makefile ASoC: hisilicon: Add hi6210 i2s audio driver 2017-04-10 19:40:13 +01:00
hi6210-i2s.c ASoC: hisilicon: localize functions without external linkage 2017-05-14 19:00:18 +09:00
hi6210-i2s.h ASoC: hisilicon: Add hi6210 i2s audio driver 2017-04-10 19:40:13 +01:00