aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-mux.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-06-19 19:03:06 +0200
committerPeter Rosin <peda@axentia.se>2019-06-22 07:32:33 +0200
commitcfafa80b6ed7399b8c68c009318a930c51fc3f37 (patch)
tree542dff9e2d9d0fa6e6ec7f3aa56ff68d9590997c /drivers/i2c/i2c-mux.c
parenti2c: mux/i801: Switch to use descriptor passing (diff)
downloadlinux-dev-cfafa80b6ed7399b8c68c009318a930c51fc3f37.tar.xz
linux-dev-cfafa80b6ed7399b8c68c009318a930c51fc3f37.zip
i2c: mux: 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: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'drivers/i2c/i2c-mux.c')
-rw-r--r--drivers/i2c/i2c-mux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-mux.c b/drivers/i2c/i2c-mux.c
index 8d5e4c6fdd8e..774507b54b57 100644
--- 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 {