sh: asm/gpio.h needs linux/kernel.h for might_sleep()/WARN_ON().
authorPaul Mundt <lethal@linux-sh.org>
Thu, 23 Oct 2008 03:37:20 +0000 (12:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 23 Oct 2008 03:37:20 +0000 (12:37 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/gpio.h

index 74c31a6..9067365 100644 (file)
@@ -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)