diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2020-11-05 11:41:00 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-05 14:52:30 +0000 |
commit | 20f64a1db8a06fdf4ed03375546f8d3555cb6cc9 (patch) | |
tree | 412002cc8e0b59b48ddc9607671903a5490bbdcf /sound/soc/qcom/lpass-cpu.c | |
parent | bc3955c99cd0f9a89e22b4c66118e960f120d372 (diff) | |
download | linux-stable-20f64a1db8a06fdf4ed03375546f8d3555cb6cc9.tar.gz linux-stable-20f64a1db8a06fdf4ed03375546f8d3555cb6cc9.tar.bz2 linux-stable-20f64a1db8a06fdf4ed03375546f8d3555cb6cc9.zip |
ASoC: qcom: lpass-cpu: fix warning on symbol scope
This patch fixes below warning when module is compiled with W=1 C=1
lpass-cpu.c:677:22: warning: symbol 'lpass_hdmi_regmap_config'
was not declared. Should it be static?
Fixes: 7cb37b7bd0d3 ("ASoC: qcom: Add support for lpass hdmi driver")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201105114100.18647-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass-cpu.c')
-rw-r--r-- | sound/soc/qcom/lpass-cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c index ba2aca301a9b..0c64deaf9374 100644 --- a/sound/soc/qcom/lpass-cpu.c +++ b/sound/soc/qcom/lpass-cpu.c @@ -668,7 +668,7 @@ static bool lpass_hdmi_regmap_volatile(struct device *dev, unsigned int reg) return false; } -struct regmap_config lpass_hdmi_regmap_config = { +static struct regmap_config lpass_hdmi_regmap_config = { .reg_bits = 32, .reg_stride = 4, .val_bits = 32, |