diff mbox series

mfd: asic3: Include the right header

Message ID 20190814072403.6294-1-linus.walleij@linaro.org
State Accepted
Commit 5cd690a308e86bcb10b8a0d6d42f153e82f695f6
Headers show
Series mfd: asic3: Include the right header | expand

Commit Message

Linus Walleij Aug. 14, 2019, 7:24 a.m. UTC
This is a GPIO driver, use the appropriate header
<linux/gpio/driver.h> rather than the legacy <linux/gpio.h>
header.

Cc: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

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

-- 
2.21.0

Comments

Lee Jones Aug. 14, 2019, 8:05 a.m. UTC | #1
On Wed, 14 Aug 2019, Linus Walleij wrote:

> This is a GPIO driver, use the appropriate header

> <linux/gpio/driver.h> rather than the legacy <linux/gpio.h>

> header.

> 

> Cc: Paul Parsons <lost.distance@yahoo.com>

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

> ---

>  drivers/mfd/asic3.c | 2 +-

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


Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
diff mbox series

Patch

diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 83b18c998d6f..a6bd2134cea2 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -15,7 +15,7 @@ 
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/export.h>
 #include <linux/io.h>
 #include <linux/slab.h>