i2c: mux: add sysfs header
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 19 Jun 2019 17:03:06 +0000 (19:03 +0200)
committerPeter 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

index 8d5e4c6..774507b 100644 (file)
@@ -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 {