瀏覽代碼

ASoC: max98925_spk_tlv can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
kbuild test robot 10 年之前
父節點
當前提交
10dcc448d1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/codecs/max98925.c

+ 1 - 1
sound/soc/codecs/max98925.c

@@ -186,7 +186,7 @@ static bool max98925_readable_register(struct device *dev, unsigned int reg)
 	}
 }
 
-DECLARE_TLV_DB_SCALE(max98925_spk_tlv, -600, 100, 0);
+static DECLARE_TLV_DB_SCALE(max98925_spk_tlv, -600, 100, 0);
 
 static const struct snd_kcontrol_new max98925_snd_controls[] = {
 	SOC_SINGLE_TLV("Speaker Volume", MAX98925_GAIN,