sound: bcm: allo: Fix duplicate-decl-specifier build warnings
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 7 Mar 2019 02:02:10 +0000 (11:02 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 6 Jul 2020 09:07:44 +0000 (18:07 +0900)
SOC_ENUM_### macros has const specifier, but there are declaration
with const again. Fix the duplicate-decl-specifier build warnings.

Change-Id: If2fe42936cb4766d73067433dd6d1029dfe4ff61
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
sound/soc/bcm/allo-piano-dac-plus.c

index e910d4a..4a7c663 100644 (file)
@@ -62,7 +62,7 @@ static const char * const allo_piano_mode_texts[] = {
        "2.2",
 };
 
-static const SOC_ENUM_SINGLE_DECL(allo_piano_mode_enum,
+static SOC_ENUM_SINGLE_DECL(allo_piano_mode_enum,
                0, 0, allo_piano_mode_texts);
 
 static const char * const allo_piano_dual_mode_texts[] = {
@@ -71,7 +71,7 @@ static const char * const allo_piano_dual_mode_texts[] = {
        "Dual-Stereo",
 };
 
-static const SOC_ENUM_SINGLE_DECL(allo_piano_dual_mode_enum,
+static SOC_ENUM_SINGLE_DECL(allo_piano_dual_mode_enum,
                0, 0, allo_piano_dual_mode_texts);
 
 static const char * const allo_piano_dsp_low_pass_texts[] = {
@@ -92,7 +92,7 @@ static const char * const allo_piano_dsp_low_pass_texts[] = {
        "200",
 };
 
-static const SOC_ENUM_SINGLE_DECL(allo_piano_enum,
+static SOC_ENUM_SINGLE_DECL(allo_piano_enum,
                0, 0, allo_piano_dsp_low_pass_texts);
 
 static int __snd_allo_piano_dsp_program(struct snd_soc_pcm_runtime *rtd,