]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: hda - Add missing exports to helper functions
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2013 14:17:20 +0000 (15:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2013 14:17:20 +0000 (15:17 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c

index 258fb5ee75c59bcc87c70d21d12a3096bf27d18a..374fd6c6558bf6cdb93128f312ceb48e0b288dc8 100644 (file)
@@ -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)