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 74c31a678a525057d3f6bbcfad856ed8db72eb84..90673658eb14c19e5506ebcda7c3024084fbd036 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)