summaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-27 10:24:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-27 10:24:15 -0700
commit63967685605b3c73c078807cd498c4fbf62847c1 (patch)
tree01854ae68f3b6ab0e7dd68bb6ddc39d9e312e51b /drivers/base/bus.c
parent0d4260e04d6e6c25dd091b1605c1d05c37891387 (diff)
downloadop-kernel-dev-63967685605b3c73c078807cd498c4fbf62847c1.zip
op-kernel-dev-63967685605b3c73c078807cd498c4fbf62847c1.tar.gz
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/bus.c')
-rw-r--r--drivers/base/bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 7fc2a13..4c289ab 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -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"
OpenPOWER on IntegriCloud