diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-01-13 22:12:07 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-13 22:12:07 +0100 |
commit | 8a3b4f20d9d9157690dae98a5982c3be20ed97d2 (patch) | |
tree | 5aacf144db1b70f92ca4bcf392981a79500d65a3 /drivers/gpio | |
parent | gpio: 74x174: Include proper headers (diff) | |
download | linux-8a3b4f20d9d9157690dae98a5982c3be20ed97d2.tar.xz linux-8a3b4f20d9d9157690dae98a5982c3be20ed97d2.zip |
gpio: adp5520: 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-adp5520.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c index abf199609546..21452622d954 100644 --- a/drivers/gpio/gpio-adp5520.c +++ b/drivers/gpio/gpio-adp5520.c @@ -12,8 +12,7 @@ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/mfd/adp5520.h> - -#include <linux/gpio.h> +#include <linux/gpio/driver.h> struct adp5520_gpio { struct device *master; |