Browse Source

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>
Linus Walleij 7 years ago
parent
commit
e88a2ae2be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpio/gpio-bt8xx.c

+ 1 - 1
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. */