summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core-of.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-06-19 19:02:45 +0200
committerWolfram Sang <wsa@the-dreams.de>2019-06-26 15:16:48 +0200
commita8023e66e871d9feddd7c976c2ffe852eb6dc377 (patch)
tree2ee0c514dbdef8bbf3a5340479f864ac264a59d0 /drivers/i2c/i2c-core-of.c
parent9de93b04df16b055824e3f1f13fedb90fbcf2e4f (diff)
i2c: core: add sysfs header
We are using sysfs functions directly, so we should include the header. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core-of.c')
-rw-r--r--drivers/i2c/i2c-core-of.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-core-of.c b/drivers/i2c/i2c-core-of.c
index 0f01cdba9d2c..3eea78a4916e 100644
--- a/drivers/i2c/i2c-core-of.c
+++ b/drivers/i2c/i2c-core-of.c
@@ -19,6 +19,7 @@
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
+#include <linux/sysfs.h>
#include "i2c-core.h"