projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de93b0
)
i2c: core: add sysfs header
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Wed, 19 Jun 2019 17:02:45 +0000
(19:02 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Wed, 26 Jun 2019 13:16:48 +0000
(15:16 +0200)
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>
drivers/i2c/i2c-core-of.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/i2c-core-of.c
b/drivers/i2c/i2c-core-of.c
index
0f01cdb
..
3eea78a
100644
(file)
--- 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"