summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-14 12:17:52 +0200
committerMark Brown <broonie@kernel.org>2016-06-14 15:46:36 +0200
commit8f273aacc070490f2d5e02e52bbaa35d53a4df15 (patch)
tree19c71a6a6d518e67bd2bdc4e736a32715845d0d2 /sound/soc/codecs/arizona.c
parentASoC: wm5102: Revert manual speaker enable (diff)
downloadlinux-8f273aacc070490f2d5e02e52bbaa35d53a4df15.tar.xz
linux-8f273aacc070490f2d5e02e52bbaa35d53a4df15.zip
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>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r--sound/soc/codecs/arizona.c2
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: