summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:22:49 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-13 22:22:49 +0100
commit3708c665a778349072a2c49fbc5da40779a5b07a (patch)
tree41104a2a9edb508f11ab6df816665dd7a2d887d3 /drivers/gpio
parent40a1f9b2071c30c6f498b8b83fe03f6bd321e436 (diff)
downloadlinux-3708c665a778349072a2c49fbc5da40779a5b07a.tar.bz2
gpio: amd8111: 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-amd8111.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-amd8111.c b/drivers/gpio/gpio-amd8111.c
index 30ad7d7c1678..fdcebe59510d 100644
--- a/drivers/gpio/gpio-amd8111.c
+++ b/drivers/gpio/gpio-amd8111.c
@@ -28,7 +28,7 @@
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/kernel.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/pci.h>
#include <linux/spinlock.h>