summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-14 00:56:52 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-01-14 00:56:52 +0300
commite88a2ae2befb98f7c9a3accc18e77f0084d03de6 (patch)
tree4e3df43f33c30943b931a33953efe2b711187667 /drivers/gpio
parent14ec018e15595d3e5c11160eef3f18c0b9c72e3f (diff)
downloadlinux-e88a2ae2befb98f7c9a3accc18e77f0084d03de6.tar.xz
gpio: bt8xx: 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-bt8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index acefb25e8eca..b8ec75cbd4b5 100644
--- a/drivers/gpio/gpio-bt8xx.c
+++ b/drivers/gpio/gpio-bt8xx.c
@@ -46,7 +46,7 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/slab.h>
/* Steal the hardware definitions from the bttv driver. */