projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d308dfb
)
i2c: mux: add sysfs header
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Wed, 19 Jun 2019 17:03:06 +0000
(19:03 +0200)
committer
Peter Rosin
<peda@axentia.se>
Sat, 22 Jun 2019 05:32:33 +0000
(07:32 +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: Peter Rosin <peda@axentia.se>
drivers/i2c/i2c-mux.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/i2c-mux.c
b/drivers/i2c/i2c-mux.c
index 8d5e4c6fdd8ecae0c537029b06313f6ac5faf01e..774507b54b57b7e722ee77fa1e8952fb29b30b1c 100644
(file)
--- a/
drivers/i2c/i2c-mux.c
+++ b/
drivers/i2c/i2c-mux.c
@@
-26,6
+26,7
@@
#include <linux/module.h>
#include <linux/of.h>
#include <linux/slab.h>
+#include <linux/sysfs.h>
/* multiplexer per channel data */
struct i2c_mux_priv {