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:
parent
d543668a61
commit
40a1f9b207
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue