summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:47:48 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:47:48 +0100
commit2e21ec4c40eb9d40d1b2d719fcb40726ae8bf4b2 (patch)
tree45242d3369c30851717733a5b182aa5c619bf364 /drivers/gpio
parentgpio: amd8111: Include proper header (diff)
downloadlinux-2e21ec4c40eb9d40d1b2d719fcb40726ae8bf4b2.tar.xz
linux-2e21ec4c40eb9d40d1b2d719fcb40726ae8bf4b2.zip
gpio: arizona: 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-arizona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
index d4e6ba0301bc..ba51ea15f379 100644
--- a/drivers/gpio/gpio-arizona.c
+++ b/drivers/gpio/gpio-arizona.c
@@ -15,7 +15,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/seq_file.h>