ALSA: hda - add explicit include of err.h
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 23 Sep 2014 07:04:49 +0000 (09:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Sep 2014 07:42:17 +0000 (09:42 +0200)
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>
sound/pci/hda/hda_jack.h

index b41e0a3..13cb375 100644 (file)
@@ -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;