aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_jack.c
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2011-11-11 11:13:15 -0500
committerTakashi Iwai <tiwai@suse.de>2011-11-16 05:14:04 -0500
commitd1cb620081f51c78cf95224efb593a886875078f (patch)
tree35d04e1705a5104c643e236868b4510b967f2a2f /sound/pci/hda/hda_jack.c
parentaad37dbd563010252e1bedb6dad6cddb867b9235 (diff)
ALSA: HDA: Jack: Export required functions from hda_jack.c
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>
Diffstat (limited to 'sound/pci/hda/hda_jack.c')
-rw-r--r--sound/pci/hda/hda_jack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_jack.c b/sound/pci/hda/hda_jack.c
index 1389958b201d..eac002d01fd6 100644
--- a/sound/pci/hda/hda_jack.c
+++ b/sound/pci/hda/hda_jack.c
@@ -87,6 +87,7 @@ snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid)
87 jack->tag = codec->jacktbl.used; 87 jack->tag = codec->jacktbl.used;
88 return jack; 88 return jack;
89} 89}
90EXPORT_SYMBOL_HDA(snd_hda_jack_tbl_new);
90 91
91#ifdef CONFIG_SND_HDA_INPUT_JACK 92#ifdef CONFIG_SND_HDA_INPUT_JACK
92static void snd_hda_input_jack_free(struct hda_codec *codec); 93static 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,
224 jack->kctl = kctl; 225 jack->kctl = kctl;
225 return 0; 226 return 0;
226} 227}
228EXPORT_SYMBOL_HDA(snd_hda_jack_add_kctl);
227 229
228static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, int idx, 230static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, int idx,
229 const struct auto_pin_cfg *cfg) 231 const struct auto_pin_cfg *cfg)