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>
This commit is contained in:
Linus Walleij 2018-01-13 22:18:34 +01:00
parent d543668a61
commit 40a1f9b207

View file

@ -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