From e4b41dbd60e30463cc8fab21ed45b7d6227fc338 Mon Sep 17 00:00:00 2001
From: Paul Mundt <lethal@linux-sh.org>
Date: Thu, 23 Oct 2008 12:37:20 +0900
Subject: [PATCH] sh: asm/gpio.h needs linux/kernel.h for
 might_sleep()/WARN_ON().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 arch/sh/include/asm/gpio.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
index 74c31a678a525..90673658eb14c 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)
-- 
GitLab