[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190820103715.7489-1-linus.walleij@linaro.org>
Date: Tue, 20 Aug 2019 12:37:15 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: lee.jones@...aro.org, linux-kernel@...r.kernel.org
Cc: Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH] 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@...aro.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
Powered by blists - more mailing lists