summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-20 12:37:15 +0200
committerLee Jones <lee.jones@linaro.org>2019-09-02 11:09:03 +0100
commitf68c0a873ef28637a201ec37e1bafdf040813454 (patch)
treeb5714c5ad8ebb679f53307fd767f9d4110de47d2 /drivers
parentc5b90cb26e83ad89cb18e5ec97a992f02d8f750d (diff)
mfd: sm501: Include the GPIO driver header
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/sm501.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
index d5e34a5eb250..154270f8d8d7 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>