Skip to content

Commit

Permalink
gpio: bt8xx: Include proper header
Browse files Browse the repository at this point in the history
This driver has no business including <linux/gpio.h>, it is a
driver so include <linux/gpio/driver.h>.

Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
linusw committed Jan 13, 2018
1 parent 14ec018 commit e88a2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-bt8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit e88a2ae

Please sign in to comment.