Skip to content

Commit

Permalink
gpio: altera: Include GPIO driver header
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
linusw committed Jan 13, 2018
1 parent d543668 commit 40a1f9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpio/gpio-altera.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40a1f9b

Please sign in to comment.