diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-03-05 01:17:31 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-19 03:50:28 +0300 |
commit | 00d712a93037c7569d72cf59dc8fb930250264e8 (patch) | |
tree | 8bb5497df3de197f90f76ccc12264014cc932474 /drivers/gpio/gpio-grgpio.c | |
parent | 7113ea8a8f56e8d33824e215757fae9e38f3b1fb (diff) |
gpio: grgpio: Include the right header
This driver is a pure GPIO driver and should only include
<linux/gpio/driver.h>.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-grgpio.c')
-rw-r--r-- | drivers/gpio/gpio-grgpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c index e2fc561f4315..60a1556c570a 100644 --- a/drivers/gpio/gpio-grgpio.c +++ b/drivers/gpio/gpio-grgpio.c @@ -26,9 +26,8 @@ #include <linux/spinlock.h> #include <linux/io.h> #include <linux/of.h> -#include <linux/of_gpio.h> #include <linux/of_platform.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> #include <linux/slab.h> #include <linux/err.h> #include <linux/gpio/driver.h> |