diff options
author | Lydia Wang <lydiawang@viatech.com.cn> | 2009-10-10 07:08:49 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-10-11 11:59:12 -0400 |
commit | 71eb7dccb7d2d22236dbe46db07f8000d09fba01 (patch) | |
tree | 48a85a2797e9e55d31e8266ab6dcc9f2f4be0b22 /sound/pci/hda/patch_via.c | |
parent | ab6734e7ea32e9f9cbe0f55eeddf4aa629ed1c3d (diff) |
ALSA: HDA VIA: rename vt1708_control_templates[].
To via_control_templates[].
Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: Logan Li <loganli@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r-- | sound/pci/hda/patch_via.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index b3c5e8a78154..257b51c61422 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c | |||
@@ -367,7 +367,7 @@ static int bind_pin_switch_put(struct snd_kcontrol *kcontrol, | |||
367 | .put = bind_pin_switch_put, \ | 367 | .put = bind_pin_switch_put, \ |
368 | .private_value = HDA_COMPOSE_AMP_VAL(0, 3, 0, 0) } | 368 | .private_value = HDA_COMPOSE_AMP_VAL(0, 3, 0, 0) } |
369 | 369 | ||
370 | static struct snd_kcontrol_new vt1708_control_templates[] = { | 370 | static struct snd_kcontrol_new via_control_templates[] = { |
371 | HDA_CODEC_VOLUME(NULL, 0, 0, 0), | 371 | HDA_CODEC_VOLUME(NULL, 0, 0, 0), |
372 | HDA_CODEC_MUTE(NULL, 0, 0, 0), | 372 | HDA_CODEC_MUTE(NULL, 0, 0, 0), |
373 | ANALOG_INPUT_MUTE, | 373 | ANALOG_INPUT_MUTE, |
@@ -430,7 +430,7 @@ static int via_add_control(struct via_spec *spec, int type, const char *name, | |||
430 | knew = snd_array_new(&spec->kctls); | 430 | knew = snd_array_new(&spec->kctls); |
431 | if (!knew) | 431 | if (!knew) |
432 | return -ENOMEM; | 432 | return -ENOMEM; |
433 | *knew = vt1708_control_templates[type]; | 433 | *knew = via_control_templates[type]; |
434 | knew->name = kstrdup(name, GFP_KERNEL); | 434 | knew->name = kstrdup(name, GFP_KERNEL); |
435 | if (!knew->name) | 435 | if (!knew->name) |
436 | return -ENOMEM; | 436 | return -ENOMEM; |