diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-01-13 22:18:34 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-13 22:18:34 +0100 |
commit | 40a1f9b2071c30c6f498b8b83fe03f6bd321e436 (patch) | |
tree | 4135e4ec90883174138b0bb220f6753facb99fa0 | |
parent | d543668a6174ddc1f0460cce3737e27a39ccd9df (diff) | |
download | talos-op-linux-40a1f9b2071c30c6f498b8b83fe03f6bd321e436.tar.gz talos-op-linux-40a1f9b2071c30c6f498b8b83fe03f6bd321e436.zip |
gpio: altera: Include GPIO driver header
This is a GPIO driver so it should definately include
<linux/gpio/driver.h>. We want to get rid of <linux/of_gpio.h>
but that will take a bit longer.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/gpio-altera.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 8e76d390e653..8c3ff6e2366f 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -18,7 +18,8 @@ #include <linux/io.h> #include <linux/module.h> -#include <linux/of_gpio.h> +#include <linux/gpio/driver.h> +#include <linux/of_gpio.h> /* For of_mm_gpio_chip */ #include <linux/platform_device.h> #define ALTERA_GPIO_MAX_NGPIO 32 |