diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2011-01-10 01:18:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:51:44 -0500 |
commit | 57cc7215b70856dc6bae8e55b00ecd7b1d7429b1 (patch) | |
tree | f6dedefd41e6745a9b801166b99af7d830e41ef2 /include | |
parent | 37721e1b0cf98cb65895f234d8c500d270546529 (diff) |
headers: kobject.h redux
Remove kobject.h from files which don't need it, notably,
sched.h and fs.h.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/firmware-map.h | 1 | ||||
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | include/linux/sunrpc/cache.h | 1 |
4 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/firmware-map.h b/include/linux/firmware-map.h index c6dcc1dfe781..43fe52fcef0f 100644 --- a/include/linux/firmware-map.h +++ b/include/linux/firmware-map.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #define _LINUX_FIRMWARE_MAP_H | 17 | #define _LINUX_FIRMWARE_MAP_H |
18 | 18 | ||
19 | #include <linux/list.h> | 19 | #include <linux/list.h> |
20 | #include <linux/kobject.h> | ||
21 | 20 | ||
22 | /* | 21 | /* |
23 | * provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled | 22 | * provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled |
diff --git a/include/linux/fs.h b/include/linux/fs.h index baf3e556ff0e..f84d9928bdb1 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -382,7 +382,6 @@ struct inodes_stat_t { | |||
382 | #include <linux/path.h> | 382 | #include <linux/path.h> |
383 | #include <linux/stat.h> | 383 | #include <linux/stat.h> |
384 | #include <linux/cache.h> | 384 | #include <linux/cache.h> |
385 | #include <linux/kobject.h> | ||
386 | #include <linux/list.h> | 385 | #include <linux/list.h> |
387 | #include <linux/radix-tree.h> | 386 | #include <linux/radix-tree.h> |
388 | #include <linux/prio_tree.h> | 387 | #include <linux/prio_tree.h> |
@@ -402,6 +401,7 @@ struct hd_geometry; | |||
402 | struct iovec; | 401 | struct iovec; |
403 | struct nameidata; | 402 | struct nameidata; |
404 | struct kiocb; | 403 | struct kiocb; |
404 | struct kobject; | ||
405 | struct pipe_inode_info; | 405 | struct pipe_inode_info; |
406 | struct poll_table_struct; | 406 | struct poll_table_struct; |
407 | struct kstatfs; | 407 | struct kstatfs; |
diff --git a/include/linux/sched.h b/include/linux/sched.h index c118a7f203aa..abc527aa8550 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -87,7 +87,6 @@ struct sched_param { | |||
87 | #include <linux/timer.h> | 87 | #include <linux/timer.h> |
88 | #include <linux/hrtimer.h> | 88 | #include <linux/hrtimer.h> |
89 | #include <linux/task_io_accounting.h> | 89 | #include <linux/task_io_accounting.h> |
90 | #include <linux/kobject.h> | ||
91 | #include <linux/latencytop.h> | 90 | #include <linux/latencytop.h> |
92 | #include <linux/cred.h> | 91 | #include <linux/cred.h> |
93 | 92 | ||
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index 6950c981882d..78aa104250b7 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h | |||
@@ -13,6 +13,7 @@ | |||
13 | #ifndef _LINUX_SUNRPC_CACHE_H_ | 13 | #ifndef _LINUX_SUNRPC_CACHE_H_ |
14 | #define _LINUX_SUNRPC_CACHE_H_ | 14 | #define _LINUX_SUNRPC_CACHE_H_ |
15 | 15 | ||
16 | #include <linux/kref.h> | ||
16 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
17 | #include <asm/atomic.h> | 18 | #include <asm/atomic.h> |
18 | #include <linux/proc_fs.h> | 19 | #include <linux/proc_fs.h> |