ASoC: rsnd: Fix duplicate const for DVC ramp rates
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 24 Mar 2015 10:47:43 +0000 (11:47 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 24 Mar 2015 17:08:58 +0000 (10:08 -0700)
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>
sound/soc/sh/rcar/dvc.c

index aeeef1352eeee89280d5134954dfa2fb7fef0bb7..6d85e36c6c2bc23a95f52b2d77f69386b8aea932 100644 (file)
@@ -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 */