summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-stp-xway.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-06-27 11:37:23 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-07-02 16:00:49 +0200
commit97a48fcd628e5bf2a34dd23c08f646253c8767ec (patch)
tree3732411f28f0e79b9d5935743118aad4d86fe600 /drivers/gpio/gpio-stp-xway.c
parentecac6e602ccd8ace3b5ec01ed8f8bf0350e30b92 (diff)
downloadlinux-97a48fcd628e5bf2a34dd23c08f646253c8767ec.tar.gz
linux-97a48fcd628e5bf2a34dd23c08f646253c8767ec.tar.bz2
linux-97a48fcd628e5bf2a34dd23c08f646253c8767ec.zip
gpio: stp-xway: Include the right header
This is a GPIO driver, include only <linux/gpio/driver.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-stp-xway.c')
-rw-r--r--drivers/gpio/gpio-stp-xway.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c
index 63c708c3f3ae..19972084c45b 100644
--- a/drivers/gpio/gpio-stp-xway.c
+++ b/drivers/gpio/gpio-stp-xway.c
@@ -13,9 +13,8 @@
#include <linux/types.h>
#include <linux/of_platform.h>
#include <linux/mutex.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/io.h>
-#include <linux/of_gpio.h>
#include <linux/clk.h>
#include <linux/err.h>