diff mbox

gpio: sch311x: fix compilation error

Message ID 1387818834-3985-1-git-send-email-linus.walleij@linaro.org
State Accepted
Commit 523639e6feb83892c15208027d7f0374cfcc1961
Headers show

Commit Message

Linus Walleij Dec. 23, 2013, 5:13 p.m. UTC
Compilation failed on some platforms due to implicit inclusion of
<linux/io.h>, make this dependency explicit.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/gpio/gpio-sch311x.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/gpio/gpio-sch311x.c b/drivers/gpio/gpio-sch311x.c
index 483a6f8bd958..0357387b3645 100644
--- a/drivers/gpio/gpio-sch311x.c
+++ b/drivers/gpio/gpio-sch311x.c
@@ -18,6 +18,7 @@ 
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 #include <linux/bitops.h>
+#include <linux/io.h>
 
 #define DRV_NAME			"gpio-sch311x"