mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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>
This commit is contained in:
parent
0d4260e04d
commit
6396768560
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user