projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b90cb
)
mfd: sm501: Include the GPIO driver header
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 20 Aug 2019 10:37:15 +0000
(12:37 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 2 Sep 2019 10:09:03 +0000
(11:09 +0100)
This driver creates a gpio chip so it needs to include the
appropriate header <linux/gpio/driver.h> explicitly rather
than implicitly.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sm501.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/sm501.c
b/drivers/mfd/sm501.c
index d5e34a5eb25023751fb841718005f4f47ade3667..154270f8d8d785424a23c137b68dde8a2894cd6b 100644
(file)
--- a/
drivers/mfd/sm501.c
+++ b/
drivers/mfd/sm501.c
@@
-17,6
+17,7
@@
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <linux/platform_data/i2c-gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/gpio/machine.h>
#include <linux/slab.h>