GPIO drivers should include <linux/gpio/driver.h> only, the <linux/gpio.h> header is deprecated.
Cc: John Crispin <j...@phrozen.org> Cc: Zhiyong Tao <zhiyong....@mediatek.com> Cc: Sean Wang <sean.w...@mediatek.com> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- I was philosophizing whether pinctrl/mediatek/pinctrl-mt7622 is similar to this and can drive also the mt7621 but what do I know. Sean can you have a look at this staging driver and give some directions? --- drivers/staging/mt7621-gpio/gpio-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c index 51235687ddb6..ca105b171a06 100644 --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c @@ -9,7 +9,7 @@ #include <linux/io.h> #include <linux/err.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> #include <linux/module.h> #include <linux/of_irq.h> #include <linux/spinlock.h> -- 2.14.3 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel