aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h5
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);
343int snd_hda_add_new_ctls(struct hda_codec *codec, 343int snd_hda_add_new_ctls(struct hda_codec *codec,
344 struct snd_kcontrol_new *knew); 344 struct snd_kcontrol_new *knew);
345int 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
467struct hda_nid_item { 469struct 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
472int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, 475int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid,
473 struct snd_kcontrol *kctl); 476 struct snd_kcontrol *kctl);
477int snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl,
478 unsigned int index, hda_nid_t nid);
474void snd_hda_ctls_clear(struct hda_codec *codec); 479void snd_hda_ctls_clear(struct hda_codec *codec);
475 480
476/* 481/*