summaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-10-23 05:37:20 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-10-23 05:37:20 +0200
commite4b41dbd60e30463cc8fab21ed45b7d6227fc338 (patch)
treef377ffa0d0f3b03779970f464b00a46f680801df /arch/sh/include
parentsh: mach-highlander: Handle SCIF pinmuxing on R7785RP. (diff)
downloadlinux-e4b41dbd60e30463cc8fab21ed45b7d6227fc338.tar.xz
linux-e4b41dbd60e30463cc8fab21ed45b7d6227fc338.zip
sh: asm/gpio.h needs linux/kernel.h for might_sleep()/WARN_ON().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
index 74c31a678a52..90673658eb14 100644
--- a/arch/sh/include/asm/gpio.h
+++ b/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)