summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-03-24 11:47:43 +0100
committerMark Brown <broonie@kernel.org>2015-03-24 10:08:58 -0700
commit2f4b1e6bb25899e7d21e1764abcfb23f14250535 (patch)
tree866366806262c96ddcf92f6470267e2caff70178 /sound
parentf8c3c3094302cb25d9720804b8100fdd37a3ace0 (diff)
downloadlinux-2f4b1e6bb25899e7d21e1764abcfb23f14250535.tar.gz
linux-2f4b1e6bb25899e7d21e1764abcfb23f14250535.tar.bz2
linux-2f4b1e6bb25899e7d21e1764abcfb23f14250535.zip
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 <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sh/rcar/dvc.c2
1 files changed, 1 insertions, 1 deletions
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 */