aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkbuild test robot <[email protected]>2018-02-16 21:55:28 +0800
committerMark Brown <[email protected]>2018-02-16 14:28:51 +0000
commit71ca54b6e87df90ecab3ce1968d60543750c7507 (patch)
tree389806337261b640b456985c14e71eb43dc8f38b
parent17e2304f0ad31d3f9bba4285b7024bf3c3626600 (diff)
ASoC: ak4458: ak4458_regmap can be static
Fixes: 08660086eff9 ("ASoC: ak4458: Add support for AK4458 DAC driver") Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/codecs/ak4458.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c
index b579cda8e418..c9762162b53f 100644
--- a/sound/soc/codecs/ak4458.c
+++ b/sound/soc/codecs/ak4458.c
@@ -574,7 +574,7 @@ struct snd_soc_codec_driver soc_codec_dev_ak4458 = {
},
};
-const struct regmap_config ak4458_regmap = {
+static const struct regmap_config ak4458_regmap = {
.reg_bits = 8,
.val_bits = 8,
@@ -584,7 +584,7 @@ const struct regmap_config ak4458_regmap = {
.cache_type = REGCACHE_RBTREE,
};
-const struct dev_pm_ops ak4458_pm = {
+static const struct dev_pm_ops ak4458_pm = {
SET_RUNTIME_PM_OPS(ak4458_runtime_suspend, ak4458_runtime_resume, NULL)
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
pm_runtime_force_resume)