summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:14:56 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:14:56 +0100
commitd543668a6174ddc1f0460cce3737e27a39ccd9df (patch)
tree73a9ab5e553ff1deead3888497f926fa1cb682ce /drivers/gpio
parentgpio: adp5520: Include proper header (diff)
downloadlinux-d543668a6174ddc1f0460cce3737e27a39ccd9df.tar.xz
linux-d543668a6174ddc1f0460cce3737e27a39ccd9df.zip
gpio: adp5588: Include proper header
This driver has no business including <linux/gpio.h>, it is a driver so 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-adp5588.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c
index e717f8dc3966..3530ccd17e04 100644
--- a/drivers/gpio/gpio-adp5588.c
+++ b/drivers/gpio/gpio-adp5588.c
@@ -12,7 +12,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/i2c.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/interrupt.h>
#include <linux/irq.h>