diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-14 03:41:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-20 04:10:27 +0200 |
commit | c6f87733823d69a8f12e391688ceeb1ff4922530 (patch) | |
tree | 2061036d1d015167a4de9e2c3a14810e6409f18f /fs/sysfs/file.c | |
parent | Driver core: make device_is_registered() work for class devices (diff) | |
download | linux-c6f87733823d69a8f12e391688ceeb1ff4922530.tar.xz linux-c6f87733823d69a8f12e391688ceeb1ff4922530.zip |
SYSFS: Explicitly include required header file slab.h.
After an experimental deletion of the unnecessary inclusion of
<linux/slab.h> from the header file <linux/percpu.h>, the following
files under fs/sysfs were exposed as needing to explicitly include
<linux/slab.h>.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/file.c')
-rw-r--r-- | fs/sysfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index baa663e69388..a859c32ff93a 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -13,6 +13,7 @@ #include <linux/module.h> #include <linux/kobject.h> #include <linux/kallsyms.h> +#include <linux/slab.h> #include <linux/namei.h> #include <linux/poll.h> #include <linux/list.h> |