summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:12:07 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:12:07 +0100
commit8a3b4f20d9d9157690dae98a5982c3be20ed97d2 (patch)
tree5aacf144db1b70f92ca4bcf392981a79500d65a3 /drivers/gpio
parent91f6a4afd1227f3806ca310b0a9c101c021ac6c5 (diff)
downloadlinux-0-day-8a3b4f20d9d9157690dae98a5982c3be20ed97d2.tar.gz
linux-0-day-8a3b4f20d9d9157690dae98a5982c3be20ed97d2.tar.xz
gpio: adp5520: 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-adp5520.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c
index abf1996095465..21452622d9542 100644
--- a/drivers/gpio/gpio-adp5520.c
+++ b/drivers/gpio/gpio-adp5520.c
@@ -12,8 +12,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mfd/adp5520.h>
-
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
struct adp5520_gpio {
struct device *master;