diff mbox

ASoC: rsnd: Fix duplicate const for DVC ramp rates

Message ID 1427194063-31572-1-git-send-email-k.kozlowski@samsung.com (mailing list archive)
State Accepted
Commit 2f4b1e6bb25899e7d21e1764abcfb23f14250535
Headers show

Commit Message

Krzysztof Kozlowski March 24, 2015, 10:47 a.m. UTC
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>
---
 sound/soc/sh/rcar/dvc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown March 24, 2015, 5:09 p.m. UTC | #1
On Tue, Mar 24, 2015 at 11:47:43AM +0100, Krzysztof Kozlowski wrote:
> Replace duplicated const keyword for 'dvc_ramp_rate' with proper
> array of const pointers to const strings.

Applied, thanks.
diff mbox

Patch

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 */