aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-22 15:17:20 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-22 15:17:20 +0100
commit4bd01e9336cd0fa037c79b6b203a4b79aecbfb09 (patch)
tree564b34393c09ffd90ae0ccca978cd843f5601581 /sound/pci/hda/hda_generic.c
parentALSA: hda - Revive SPDIF mux for IDT/STAC codecs (diff)
downloadlinux-dev-4bd01e9336cd0fa037c79b6b203a4b79aecbfb09.tar.xz
linux-dev-4bd01e9336cd0fa037c79b6b203a4b79aecbfb09.zip
ALSA: hda - Add missing exports to helper functions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/pci/hda/hda_generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 258fb5ee75c5..374fd6c6558b 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -261,6 +261,7 @@ int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path)
return 0;
return idx + 1;
}
+EXPORT_SYMBOL_HDA(snd_hda_get_path_idx);
/* get the path instance corresponding to the given index number */
struct nid_path *snd_hda_get_path_from_idx(struct hda_codec *codec, int idx)
@@ -271,6 +272,7 @@ struct nid_path *snd_hda_get_path_from_idx(struct hda_codec *codec, int idx)
return NULL;
return snd_array_elem(&spec->paths, idx - 1);
}
+EXPORT_SYMBOL_HDA(snd_hda_get_path_from_idx);
/* check whether the given DAC is already found in any existing paths */
static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid)