diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-01-17 13:29:34 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-01-18 09:43:17 +0300 |
commit | ea73496324c1d990504e27f551e159388f891a4c (patch) | |
tree | 9b52b58f60c81d3eb2e1aa2e59bdc4322fc3f017 /sound/pci/hda/patch_cirrus.c | |
parent | c66ddf32dda0d5bcf9db7b4cc42ef5da7baadd3e (diff) | |
download | linux-ea73496324c1d990504e27f551e159388f891a4c.tar.xz |
ALSA: hda - consitify string arrays
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
-rw-r--r-- | sound/pci/hda/patch_cirrus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 18af38ebf757..a07b031090d8 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c @@ -490,7 +490,7 @@ static int parse_digital_input(struct hda_codec *codec) * create mixer controls */ -static const char *dir_sfx[2] = { "Playback", "Capture" }; +static const char * const dir_sfx[2] = { "Playback", "Capture" }; static int add_mute(struct hda_codec *codec, const char *name, int index, unsigned int pval, int dir, struct snd_kcontrol **kctlp) @@ -1156,7 +1156,7 @@ static int cs_parse_auto_config(struct hda_codec *codec) return 0; } -static const char *cs420x_models[CS420X_MODELS] = { +static const char * const cs420x_models[CS420X_MODELS] = { [CS420X_MBP53] = "mbp53", [CS420X_MBP55] = "mbp55", [CS420X_IMAC27] = "imac27", |