diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-11 14:44:38 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-14 12:36:39 +0300 |
commit | 03ba791df98d15d07ea74075122af71e35c7611c (patch) | |
tree | 7fd72ba86a34cb3216ee51b7f8c04198031894dc /sound/soc/cirrus | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | linux-03ba791df98d15d07ea74075122af71e35c7611c.tar.xz |
ASoC: rt5514: fix gcc-7 warning
gcc-7 warns that there is a duplicate 'const' specifier in some
variables that are declared using the SOC_ENUM_SINGLE_DECL macro:
sound/soc/codecs/rt5514.c:398:14: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
static const SOC_ENUM_SINGLE_DECL(
sound/soc/codecs/rt5514.c:405:14: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
static const SOC_ENUM_SINGLE_DECL(
This removes one to fix the warning.
Fixes: 4a6180ea7399 ("ASoC: rt5514: add rt5514 codec driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/cirrus')
0 files changed, 0 insertions, 0 deletions