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

index 0f01cdba9d2c61517300f669af789547d06c90ad..3eea78a4916e129ed5e8ed66ec80f3dd4aaccbb7 100644 (file)
@@ -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"