* [PATCH] ALSA: asihpi: Fix duplicate const for clock sources
@ 2015-03-24 10:48 Krzysztof Kozlowski
2015-03-24 10:51 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-03-24 10:48 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel
Cc: Krzysztof Kozlowski
Replace duplicated const keyword for 'sampleclock_sources' with proper
array of const pointers to const strings.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
sound/pci/asihpi/asihpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
index e5cd7be85355..1039eccbb895 100644
--- a/sound/pci/asihpi/asihpi.c
+++ b/sound/pci/asihpi/asihpi.c
@@ -2376,7 +2376,7 @@ static int snd_asihpi_cmode_add(struct snd_card_asihpi *asihpi,
/*------------------------------------------------------------
Sampleclock source controls
------------------------------------------------------------*/
-static const char const *sampleclock_sources[] = {
+static const char * const sampleclock_sources[] = {
"N/A", "Local PLL", "Digital Sync", "Word External", "Word Header",
"SMPTE", "Digital1", "Auto", "Network", "Invalid",
"Prev Module", "BLU-Link",
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: asihpi: Fix duplicate const for clock sources
2015-03-24 10:48 [PATCH] ALSA: asihpi: Fix duplicate const for clock sources Krzysztof Kozlowski
@ 2015-03-24 10:51 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2015-03-24 10:51 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: Jaroslav Kysela, alsa-devel, linux-kernel
At Tue, 24 Mar 2015 11:48:24 +0100,
Krzysztof Kozlowski wrote:
>
> Replace duplicated const keyword for 'sampleclock_sources' with proper
> array of const pointers to const strings.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Applied, thanks.
Takashi
> ---
> sound/pci/asihpi/asihpi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
> index e5cd7be85355..1039eccbb895 100644
> --- a/sound/pci/asihpi/asihpi.c
> +++ b/sound/pci/asihpi/asihpi.c
> @@ -2376,7 +2376,7 @@ static int snd_asihpi_cmode_add(struct snd_card_asihpi *asihpi,
> /*------------------------------------------------------------
> Sampleclock source controls
> ------------------------------------------------------------*/
> -static const char const *sampleclock_sources[] = {
> +static const char * const sampleclock_sources[] = {
> "N/A", "Local PLL", "Digital Sync", "Word External", "Word Header",
> "SMPTE", "Digital1", "Auto", "Network", "Invalid",
> "Prev Module", "BLU-Link",
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: asihpi: Fix duplicate const for clock sources
@ 2015-03-24 10:51 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2015-03-24 10:51 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: alsa-devel, linux-kernel
At Tue, 24 Mar 2015 11:48:24 +0100,
Krzysztof Kozlowski wrote:
>
> Replace duplicated const keyword for 'sampleclock_sources' with proper
> array of const pointers to const strings.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Applied, thanks.
Takashi
> ---
> sound/pci/asihpi/asihpi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
> index e5cd7be85355..1039eccbb895 100644
> --- a/sound/pci/asihpi/asihpi.c
> +++ b/sound/pci/asihpi/asihpi.c
> @@ -2376,7 +2376,7 @@ static int snd_asihpi_cmode_add(struct snd_card_asihpi *asihpi,
> /*------------------------------------------------------------
> Sampleclock source controls
> ------------------------------------------------------------*/
> -static const char const *sampleclock_sources[] = {
> +static const char * const sampleclock_sources[] = {
> "N/A", "Local PLL", "Digital Sync", "Word External", "Word Header",
> "SMPTE", "Digital1", "Auto", "Network", "Invalid",
> "Prev Module", "BLU-Link",
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-24 10:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24 10:48 [PATCH] ALSA: asihpi: Fix duplicate const for clock sources Krzysztof Kozlowski
2015-03-24 10:51 ` Takashi Iwai
2015-03-24 10:51 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.