浏览代码

sh: asm/gpio.h needs linux/kernel.h for might_sleep()/WARN_ON().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 年之前
父节点
当前提交
e4b41dbd60
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/sh/include/asm/gpio.h

+ 1 - 0
arch/sh/include/asm/gpio.h

@@ -12,6 +12,7 @@
 #ifndef __ASM_SH_GPIO_H
 #define __ASM_SH_GPIO_H
 
+#include <linux/kernel.h>
 #include <linux/errno.h>
 
 #if defined(CONFIG_CPU_SH3)