summaryrefslogtreecommitdiffstats
path: root/arch
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
parent61dc6eaeef87048af351c04fd0046a6e3f96f94f (diff)
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')
-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 74c31a678a5..90673658eb1 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)