summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-02-28 15:56:09 +0800
committerMark Brown <broonie@kernel.org>2020-02-28 17:28:28 +0000
commita3c2e894cdafbfa376a28a89a60df415b6ab6ee6 (patch)
tree415570f1fc12a91aefac8cba7b2d311f82836f90 /sound/soc/codecs
parent4a88b7dec331cf1ac661e38d610cd0ff0c073607 (diff)
downloadlinux-a3c2e894cdafbfa376a28a89a60df415b6ab6ee6.tar.bz2
ASoC: rt5682: Make rt5682_clock_config static
Fix sparse warning: sound/soc/codecs/rt5682-sdw.c:163:5: warning: symbol 'rt5682_clock_config' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20200228075609.38236-1-yuehaibing@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/rt5682-sdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5682-sdw.c b/sound/soc/codecs/rt5682-sdw.c
index fc31d04b5203..1d6963dd6403 100644
--- a/sound/soc/codecs/rt5682-sdw.c
+++ b/sound/soc/codecs/rt5682-sdw.c
@@ -160,7 +160,7 @@ static int rt5682_read_prop(struct sdw_slave *slave)
#define RT5682_CLK_FREQ_2400000HZ 2400000
#define RT5682_CLK_FREQ_12288000HZ 12288000
-int rt5682_clock_config(struct device *dev)
+static int rt5682_clock_config(struct device *dev)
{
struct rt5682_priv *rt5682 = dev_get_drvdata(dev);
unsigned int clk_freq, value;