]> Pileus Git - ~andy/linux/commitdiff
driver core: add #include <linux/sysfs.h> to core files.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 17:24:15 +0000 (10:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 17:24:15 +0000 (10:24 -0700)
This is needed to fix the build on sh systems.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c
drivers/base/core.c
drivers/base/driver.c

index 7fc2a13e84a13f8b10b461d6ae34d4d54728a421..4c289ab91357531373c25889b5911bff33ae3d64 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/init.h>
 #include <linux/string.h>
 #include <linux/mutex.h>
+#include <linux/sysfs.h>
 #include "base.h"
 #include "power/power.h"
 
index 921b94184dcc0f2b0e1101fb87996b5fe1f7fc04..c7b0925f627a367968f4edbe291ea01a0059cedf 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/async.h>
 #include <linux/pm_runtime.h>
 #include <linux/netdevice.h>
+#include <linux/sysfs.h>
 
 #include "base.h"
 #include "power/power.h"
index c7efccb6f3bb3ffea19f0034f33143de3e7447c0..9e29943e56cae1d18d9dfcf3564baf4f839f087a 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/errno.h>
 #include <linux/slab.h>
 #include <linux/string.h>
+#include <linux/sysfs.h>
 #include "base.h"
 
 static struct device *next_device(struct klist_iter *i)