ALSA: HDA: Jack: Export required functions from hda_jack.c
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 11 Nov 2011 16:13:15 +0000 (17:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Nov 2011 10:14:04 +0000 (11:14 +0100)
These two functions are being used by the codec-idt and codec-hdmi
modules, so they need to be exported properly.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_jack.c

index 1389958b201d1f20bde2fe94000c86219f52c72c..eac002d01fd66a89b00886aa218a7d727161e0d8 100644 (file)
@@ -87,6 +87,7 @@ snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid)
        jack->tag = codec->jacktbl.used;
        return jack;
 }
+EXPORT_SYMBOL_HDA(snd_hda_jack_tbl_new);
 
 #ifdef CONFIG_SND_HDA_INPUT_JACK
 static void snd_hda_input_jack_free(struct hda_codec *codec);
@@ -224,6 +225,7 @@ int snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid,
        jack->kctl = kctl;
        return 0;
 }
+EXPORT_SYMBOL_HDA(snd_hda_jack_add_kctl);
 
 static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, int idx,
                         const struct auto_pin_cfg *cfg)