diff mbox series

[1/2] gpio: vf610: Include the right header

Message ID 20180910064727.4704-1-linus.walleij@linaro.org
State New
Headers show
Series [1/2] gpio: vf610: Include the right header | expand

Commit Message

Linus Walleij Sept. 10, 2018, 6:47 a.m. UTC
This is a GPIO driver so only include <linux/gpio/driver.h>.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpio/gpio-vf610.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Stefan Agner Sept. 10, 2018, 5:11 p.m. UTC | #1
On 09.09.2018 23:47, Linus Walleij wrote:
> This is a GPIO driver so only include <linux/gpio/driver.h>.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Acked-by: Stefan Agner <stefan@agner.ch>


> ---

>  drivers/gpio/gpio-vf610.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c

> index d4ad6d0e02a2..93eed646d92f 100644

> --- a/drivers/gpio/gpio-vf610.c

> +++ b/drivers/gpio/gpio-vf610.c

> @@ -17,7 +17,7 @@

>  

>  #include <linux/bitops.h>

>  #include <linux/err.h>

> -#include <linux/gpio.h>

> +#include <linux/gpio/driver.h>

>  #include <linux/init.h>

>  #include <linux/interrupt.h>

>  #include <linux/io.h>
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c
index d4ad6d0e02a2..93eed646d92f 100644
--- a/drivers/gpio/gpio-vf610.c
+++ b/drivers/gpio/gpio-vf610.c
@@ -17,7 +17,7 @@ 
 
 #include <linux/bitops.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>