diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-03-03 08:40:14 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-03-03 08:40:14 -0500 |
commit | cd372fb3befde3bceef3fdcbc550dde50c894e36 (patch) | |
tree | 300fec172522d11408ccd8086f7789cdcd2a8509 /sound/pci/hda/hda_codec.h | |
parent | d207df2df064c19a2cf4eac8f887351fe5ce526e (diff) |
ALSA: hda - Make common input-jack helper functions
Since multiple codec drivers already use the input-jack stuff, let's
make common helper functions to reduce the duplicated codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index fdf8d44f8b6b..e46d5420a9f2 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -866,6 +866,11 @@ struct hda_codec { | |||
866 | /* codec-specific additional proc output */ | 866 | /* codec-specific additional proc output */ |
867 | void (*proc_widget_hook)(struct snd_info_buffer *buffer, | 867 | void (*proc_widget_hook)(struct snd_info_buffer *buffer, |
868 | struct hda_codec *codec, hda_nid_t nid); | 868 | struct hda_codec *codec, hda_nid_t nid); |
869 | |||
870 | #ifdef CONFIG_SND_HDA_INPUT_JACK | ||
871 | /* jack detection */ | ||
872 | struct snd_array jacks; | ||
873 | #endif | ||
869 | }; | 874 | }; |
870 | 875 | ||
871 | /* direction */ | 876 | /* direction */ |