[alsa-devel] [asoc:topic/max98925 1/1] sound/soc/codecs/max98925.c:189:1: sparse: symbol 'max98925_spk_tlv' was not declared. Should it be static?
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/max98925 head: 31bdf73603f61a22c1643d1d887cf36eaa3a6834 commit: 31bdf73603f61a22c1643d1d887cf36eaa3a6834 [1/1] ASoC: Add max98925 codec driver reproduce: # apt-get install sparse git checkout 31bdf73603f61a22c1643d1d887cf36eaa3a6834 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
sound/soc/codecs/max98925.c:189:1: sparse: symbol 'max98925_spk_tlv' was not declared. Should it be static?
Please review and possibly fold the followup patch.
--- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
Signed-off-by: Fengguang Wu fengguang.wu@intel.com --- max98925.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c index 74f4f0b..34fc4d0 100644 --- a/sound/soc/codecs/max98925.c +++ b/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,
On Thu, Mar 12, 2015 at 03:05:44AM +0800, kbuild test robot wrote:
Signed-off-by: Fengguang Wu fengguang.wu@intel.com
applied, thanks.
participants (2)
-
kbuild test robot
-
Mark Brown