]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: wm8804: Remove superfluous const
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:44:00 +0000 (09:44 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:43:35 +0000 (10:43 +0900)
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8804.c

index 9bc8206a68071267cbb18856dc5c9722930af147..72d12bbe1a56444c947344fd57ee7d8a8b0dba15 100644 (file)
@@ -92,7 +92,7 @@ WM8804_REGULATOR_EVENT(0)
 WM8804_REGULATOR_EVENT(1)
 
 static const char *txsrc_text[] = { "S/PDIF RX", "AIF" };
-static const SOC_ENUM_SINGLE_EXT_DECL(txsrc, txsrc_text);
+static SOC_ENUM_SINGLE_EXT_DECL(txsrc, txsrc_text);
 
 static const struct snd_kcontrol_new wm8804_snd_controls[] = {
        SOC_ENUM_EXT("Input Source", txsrc, txsrc_get, txsrc_put),