aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
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
parenti2c: bcm2835: Ensure clock exists when probing (diff)
downloadlinux-dev-a8023e66e871d9feddd7c976c2ffe852eb6dc377.tar.xz
linux-dev-a8023e66e871d9feddd7c976c2ffe852eb6dc377.zip
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')
-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"