Skip to content

Commit 4652a44

Browse files
nathanchanceJarlPenguin
authored andcommitted
ASoC: msm: qdsp6v2: Remove duplicate const qualifiers
Clang warns: ../sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c:10241:18: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const int const slim0_rx_vi_fb_tx_lch_value[] = { ^~~~~~ ../sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c:10245:18: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const int const slim0_rx_vi_fb_tx_rch_value[] = { ^~~~~~ ../sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c:10249:18: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const int const mi2s_rx_vi_fb_tx_value[] = { ^~~~~~ Fixes: a886cfa ("ASoC: add audio drivers for MSM targets") Fixes: 4993f76 ("ASoC: qdsp6v2: Add support for new MI2S interfaces") Signed-off-by: Nathan Chancellor <[email protected]>
1 parent cd3ea5d commit 4652a44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sound/soc/msm/qdsp6v2/msm-pcm-routing-v2.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12177,11 +12177,11 @@ static const char * const mi2s_rx_vi_fb_tx_mux_text[] = {
1217712177
};
1217812178
#endif
1217912179

12180-
static const int const slim0_rx_vi_fb_tx_lch_value[] = {
12180+
static const int slim0_rx_vi_fb_tx_lch_value[] = {
1218112181
MSM_BACKEND_DAI_MAX, MSM_BACKEND_DAI_SLIMBUS_4_TX
1218212182
};
1218312183

12184-
static const int const slim0_rx_vi_fb_tx_rch_value[] = {
12184+
static const int slim0_rx_vi_fb_tx_rch_value[] = {
1218512185
MSM_BACKEND_DAI_MAX, MSM_BACKEND_DAI_SLIMBUS_4_TX
1218612186
};
1218712187

@@ -12191,6 +12191,7 @@ static const int const mi2s_rx_vi_fb_tx_value[] = {
1219112191
};
1219212192
#else
1219312193
static const int const mi2s_rx_vi_fb_tx_value[] = {
12194+
1219412195
MSM_BACKEND_DAI_MAX, MSM_BACKEND_DAI_SENARY_MI2S_TX
1219512196
};
1219612197
#endif

0 commit comments

Comments
 (0)