projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d543668
)
gpio: altera: Include GPIO driver header
author
Linus Walleij
<linus.walleij@linaro.org>
Sat, 13 Jan 2018 21:18:34 +0000
(22:18 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sat, 13 Jan 2018 21:18:34 +0000
(22:18 +0100)
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>
drivers/gpio/gpio-altera.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-altera.c
b/drivers/gpio/gpio-altera.c
index 8e76d390e65388b57865b46daa535679033696d9..8c3ff6e2366fe974e6aa6242964b583d59924282 100644
(file)
--- 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