OSDN Git Service

ALSA: asihpi: Fix duplicate const for clock sources
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 24 Mar 2015 10:48:24 +0000 (11:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Mar 2015 10:51:43 +0000 (11:51 +0100)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c

index e5cd7be..1039ecc 100644 (file)
@@ -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",