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 8d5e4c6fdd8ecae0c537029b06313f6ac5faf01e..774507b54b57b7e722ee77fa1e8952fb29b30b1c 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 {