summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-10-23 12:37:20 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-10-23 12:37:20 +0900
commite4b41dbd60e30463cc8fab21ed45b7d6227fc338 (patch)
treef377ffa0d0f3b03779970f464b00a46f680801df /arch/sh
parent61dc6eaeef87048af351c04fd0046a6e3f96f94f (diff)
downloadlinux-e4b41dbd60e30463cc8fab21ed45b7d6227fc338.tar.gz
linux-e4b41dbd60e30463cc8fab21ed45b7d6227fc338.tar.bz2
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')
-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)