summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-03-04 23:17:31 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-03-19 01:50:28 +0100
commit00d712a93037c7569d72cf59dc8fb930250264e8 (patch)
tree8bb5497df3de197f90f76ccc12264014cc932474 /drivers/gpio
parent7113ea8a8f56e8d33824e215757fae9e38f3b1fb (diff)
downloadlinux-00d712a93037c7569d72cf59dc8fb930250264e8.tar.bz2
gpio: grgpio: Include the right header
This driver is a pure GPIO driver and should only include <linux/gpio/driver.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-grgpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c
index e2fc561f4315..60a1556c570a 100644
--- a/drivers/gpio/gpio-grgpio.c
+++ b/drivers/gpio/gpio-grgpio.c
@@ -26,9 +26,8 @@
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/of_platform.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/gpio/driver.h>