OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3955c
)
ASoC: qcom: lpass-cpu: fix warning on symbol scope
author
Srinivas Kandagatla
<srinivas.kandagatla@linaro.org>
Thu, 5 Nov 2020 11:41:00 +0000
(11:41 +0000)
committer
Mark Brown
<broonie@kernel.org>
Thu, 5 Nov 2020 14:52:30 +0000
(14:52 +0000)
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>
sound/soc/qcom/lpass-cpu.c
patch
|
blob
|
history
diff --git
a/sound/soc/qcom/lpass-cpu.c
b/sound/soc/qcom/lpass-cpu.c
index
ba2aca3
..
0c64dea
100644
(file)
--- 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 = {
+st
atic st
ruct regmap_config lpass_hdmi_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,