Messages in this thread Patch in this message | | | From | Linus Walleij <> | Subject | [PATCH] mfd: sm501: Include the GPIO driver header | Date | Tue, 20 Aug 2019 12:37:15 +0200 |
| |
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> --- drivers/mfd/sm501.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index 9b9b06d36cb1..dc46d62085cc 100644 --- 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> -- 2.21.0
| |