Browse Source

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

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 years ago
parent
commit
e4b41dbd60
1 changed files with 1 additions and 0 deletions
  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)