* [PATCH] ASoC: rsnd: Fix duplicate const for DVC ramp rates
@ 2015-03-24 10:47 Krzysztof Kozlowski
2015-03-24 17:09 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2015-03-24 10:47 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
Kuninori Morimoto, alsa-devel, linux-kernel
Cc: Krzysztof Kozlowski
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(-)
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 */
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: rsnd: Fix duplicate const for DVC ramp rates
2015-03-24 10:47 [PATCH] ASoC: rsnd: Fix duplicate const for DVC ramp rates Krzysztof Kozlowski
@ 2015-03-24 17:09 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-03-24 17:09 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Kuninori Morimoto,
alsa-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-24 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24 10:47 [PATCH] ASoC: rsnd: Fix duplicate const for DVC ramp rates Krzysztof Kozlowski
2015-03-24 17:09 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).