diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-06-14 12:17:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-14 14:46:36 +0100 |
commit | 8f273aacc070490f2d5e02e52bbaa35d53a4df15 (patch) | |
tree | 19c71a6a6d518e67bd2bdc4e736a32715845d0d2 | |
parent | 10867b32a1cc2fb0b370c3d3601fccc587165128 (diff) |
ASoC: remove one extraneous 'const'
A recent commit made a few arrays 'const', but also added the
same attribute to a function return type, where it makes no
sense, and we get a warning when building with W=1:
sound/soc/codecs/arizona.c:1725:27: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
static const char * const arizona_dai_clk_str(int clk_id)
This removes it again.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/arizona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 73eab6c462ac..1ff0ed2d8de9 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -1711,7 +1711,7 @@ restore_aif: return ret; } -static const char * const arizona_dai_clk_str(int clk_id) +static const char *arizona_dai_clk_str(int clk_id) { switch (clk_id) { case ARIZONA_CLK_SYSCLK: |