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/gpio-adp5520.c | |
parent | 91f6a4afd1227f3806ca310b0a9c101c021ac6c5 (diff) | |
download | op-kernel-dev-8a3b4f20d9d9157690dae98a5982c3be20ed97d2.zip op-kernel-dev-8a3b4f20d9d9157690dae98a5982c3be20ed97d2.tar.gz |
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/gpio-adp5520.c')
-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 abf1996..2145262 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; |