From: Krzysztof Kozlowski Date: Tue, 24 Mar 2015 10:47:43 +0000 (+0100) Subject: ASoC: rsnd: Fix duplicate const for DVC ramp rates X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2f4b1e6bb25899e7d21e1764abcfb23f14250535;p=linux-beck.git ASoC: rsnd: Fix duplicate const for DVC ramp rates Replace duplicated const keyword for 'dvc_ramp_rate' with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Mark Brown --- diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/sh/rcar/dvc.c index aeeef1352eee..6d85e36c6c2b 100644 --- a/sound/soc/sh/rcar/dvc.c +++ b/sound/soc/sh/rcar/dvc.c @@ -36,7 +36,7 @@ struct rsnd_dvc { ((pos) = (struct rsnd_dvc *)(priv)->dvc + i); \ i++) -static const char const *dvc_ramp_rate[] = { +static const char * const dvc_ramp_rate[] = { "128 dB/1 step", /* 00000 */ "64 dB/1 step", /* 00001 */ "32 dB/1 step", /* 00010 */