Browse Source

ASoC: ak4458: ak4458_regmap can be static

Fixes: 08660086eff9 ("ASoC: ak4458: Add support for AK4458 DAC driver")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
kbuild test robot 7 years ago
parent
commit
71ca54b6e8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sound/soc/codecs/ak4458.c

+ 2 - 2
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,
 	.reg_bits = 8,
 	.val_bits = 8,
 	.val_bits = 8,
 
 
@@ -584,7 +584,7 @@ const struct regmap_config ak4458_regmap = {
 	.cache_type = REGCACHE_RBTREE,
 	.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_RUNTIME_PM_OPS(ak4458_runtime_suspend, ak4458_runtime_resume, NULL)
 	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
 	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
 				pm_runtime_force_resume)
 				pm_runtime_force_resume)