diff options
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 5778ae882b83..98cf3f4f3755 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -342,6 +342,8 @@ int snd_hda_check_board_codec_sid_config(struct hda_codec *codec, | |||
342 | const struct snd_pci_quirk *tbl); | 342 | const struct snd_pci_quirk *tbl); |
343 | int snd_hda_add_new_ctls(struct hda_codec *codec, | 343 | int snd_hda_add_new_ctls(struct hda_codec *codec, |
344 | struct snd_kcontrol_new *knew); | 344 | struct snd_kcontrol_new *knew); |
345 | int snd_hda_add_nids(struct hda_codec *codec, struct snd_kcontrol *kctl, | ||
346 | unsigned int index, hda_nid_t *nids, unsigned int size); | ||
345 | 347 | ||
346 | /* | 348 | /* |
347 | * unsolicited event handler | 349 | * unsolicited event handler |
@@ -466,11 +468,14 @@ int snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid); | |||
466 | 468 | ||
467 | struct hda_nid_item { | 469 | struct hda_nid_item { |
468 | struct snd_kcontrol *kctl; | 470 | struct snd_kcontrol *kctl; |
471 | unsigned int index; | ||
469 | hda_nid_t nid; | 472 | hda_nid_t nid; |
470 | }; | 473 | }; |
471 | 474 | ||
472 | int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, | 475 | int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, |
473 | struct snd_kcontrol *kctl); | 476 | struct snd_kcontrol *kctl); |
477 | int snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl, | ||
478 | unsigned int index, hda_nid_t nid); | ||
474 | void snd_hda_ctls_clear(struct hda_codec *codec); | 479 | void snd_hda_ctls_clear(struct hda_codec *codec); |
475 | 480 | ||
476 | /* | 481 | /* |