aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-27 13:24:15 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-27 13:24:15 -0400
commit63967685605b3c73c078807cd498c4fbf62847c1 (patch)
tree01854ae68f3b6ab0e7dd68bb6ddc39d9e312e51b /drivers/base
parent0d4260e04d6e6c25dd091b1605c1d05c37891387 (diff)
driver core: add #include <linux/sysfs.h> to core files.
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/bus.c1
-rw-r--r--drivers/base/core.c1
-rw-r--r--drivers/base/driver.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 7fc2a13e84a1..4c289ab91357 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -17,6 +17,7 @@
17#include <linux/init.h> 17#include <linux/init.h>
18#include <linux/string.h> 18#include <linux/string.h>
19#include <linux/mutex.h> 19#include <linux/mutex.h>
20#include <linux/sysfs.h>
20#include "base.h" 21#include "base.h"
21#include "power/power.h" 22#include "power/power.h"
22 23
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 921b94184dcc..c7b0925f627a 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -26,6 +26,7 @@
26#include <linux/async.h> 26#include <linux/async.h>
27#include <linux/pm_runtime.h> 27#include <linux/pm_runtime.h>
28#include <linux/netdevice.h> 28#include <linux/netdevice.h>
29#include <linux/sysfs.h>
29 30
30#include "base.h" 31#include "base.h"
31#include "power/power.h" 32#include "power/power.h"
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index c7efccb6f3bb..9e29943e56ca 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -15,6 +15,7 @@
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/slab.h> 16#include <linux/slab.h>
17#include <linux/string.h> 17#include <linux/string.h>
18#include <linux/sysfs.h>
18#include "base.h" 19#include "base.h"
19 20
20static struct device *next_device(struct klist_iter *i) 21static struct device *next_device(struct klist_iter *i)