浏览代码

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>
David Henningsson 11 年之前
父节点
当前提交
a5062dee82
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      sound/pci/hda/hda_jack.h

+ 2 - 0
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;