diff mbox series

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

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

Commit Message

Linus Walleij Sept. 12, 2018, 11:45 a.m. UTC
This is a GPIO driver so include only <linux/gpio/driver.h>.

Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

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

-- 
2.17.1

Comments

Baruch Siach Sept. 12, 2018, 12:25 p.m. UTC | #1
Hi Linus,

On Wed, Sep 12, 2018 at 01:45:41PM +0200, Linus Walleij wrote:
> This is a GPIO driver so include only <linux/gpio/driver.h>.

> 

> Cc: Baruch Siach <baruch@tkos.co.il>

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


Acked-by: Baruch Siach <baruch@tkos.co.il>


> ---

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

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

> 

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

> index f16c0427952e..d3834d727d3e 100644

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

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

> @@ -30,7 +30,7 @@

>  

>  #include <linux/err.h>

>  #include <linux/module.h>

> -#include <linux/gpio.h>

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

>  #include <linux/bitops.h>

>  #include <linux/platform_device.h>


baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c
index f16c0427952e..d3834d727d3e 100644
--- a/drivers/gpio/gpio-xtensa.c
+++ b/drivers/gpio/gpio-xtensa.c
@@ -30,7 +30,7 @@ 
 
 #include <linux/err.h>
 #include <linux/module.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/bitops.h>
 #include <linux/platform_device.h>