diff mbox series

i2c: core: add sysfs header

Message ID 20190619170245.28380-1-wsa+renesas@sang-engineering.com
State Accepted
Headers show
Series i2c: core: add sysfs header | expand

Commit Message

Wolfram Sang June 19, 2019, 5:02 p.m. UTC
We are using sysfs functions directly, so we should include the header.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/i2c/i2c-core-of.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Wolfram Sang June 26, 2019, 1:17 p.m. UTC | #1
On Wed, Jun 19, 2019 at 07:02:45PM +0200, Wolfram Sang wrote:
> We are using sysfs functions directly, so we should include the header.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Applied to for-next, thanks!
diff mbox series

Patch

diff --git a/drivers/i2c/i2c-core-of.c b/drivers/i2c/i2c-core-of.c
index 406e5f695a7e..39ea4ba2101c 100644
--- a/drivers/i2c/i2c-core-of.c
+++ b/drivers/i2c/i2c-core-of.c
@@ -15,6 +15,7 @@ 
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
+#include <linux/sysfs.h>
 
 #include "i2c-core.h"