summaryrefslogtreecommitdiff
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-09-23 07:04:49 (GMT)
committerTakashi Iwai <tiwai@suse.de>2014-09-23 07:42:17 (GMT)
commita5062dee82826f54529c89d0e58211897b1b4c68 (patch)
tree16b6c3d0814edd3ee20a70d9967561d5d7361cc3 /sound/pci/hda
parent7639913f7298ed23a3f026ebcbb3b4e8850bcc39 (diff)
downloadlinux-a5062dee82826f54529c89d0e58211897b1b4c68.tar.xz
ALSA: hda - add explicit include of err.h
Since every caller of snd_hda_jack_detect_enable_callback needs to use the macros from err.h, it makes sense to include it directly from hda_jack.h. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/hda_jack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_jack.h b/sound/pci/hda/hda_jack.h
index b41e0a3..13cb375 100644
--- a/sound/pci/hda/hda_jack.h
+++ b/sound/pci/hda/hda_jack.h
@@ -12,6 +12,8 @@
#ifndef __SOUND_HDA_JACK_H
#define __SOUND_HDA_JACK_H
+#include <linux/err.h>
+
struct auto_pin_cfg;
struct hda_jack_tbl;
struct hda_jack_callback;