]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: bt8xx: Include proper header
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 13 Jan 2018 21:56:52 +0000 (22:56 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 13 Jan 2018 21:56:52 +0000 (22:56 +0100)
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>
drivers/gpio/gpio-bt8xx.c

index acefb25e8eca43b46bc9f4a97286b030d6b0959a..b8ec75cbd4b53cf34ded259d652f410946d41904 100644 (file)
@@ -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. */