diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-16 21:29:17 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-07 15:04:04 -0500 |
commit | 8bc3bcc93a2b4e47d5d410146f6546bca6171663 (patch) | |
tree | 101f55a96f751749041c90c32ef1ba89f94dc4d1 /lib/kobject_uevent.c | |
parent | 630d9c47274aa89bfa77fe6556d7818bdcb12992 (diff) |
lib: reduce the use of module.h wherever possible
For files only using THIS_MODULE and/or EXPORT_SYMBOL, map
them onto including export.h -- or if the file isn't even
using those, then just delete the include. Fix up any implicit
include dependencies that were being masked by module.h along
the way.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r-- | lib/kobject_uevent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index e66e9b632617..6baabebda11a 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c | |||
@@ -17,7 +17,8 @@ | |||
17 | #include <linux/spinlock.h> | 17 | #include <linux/spinlock.h> |
18 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <linux/kobject.h> | 19 | #include <linux/kobject.h> |
20 | #include <linux/module.h> | 20 | #include <linux/export.h> |
21 | #include <linux/kmod.h> | ||
21 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
22 | #include <linux/user_namespace.h> | 23 | #include <linux/user_namespace.h> |
23 | #include <linux/socket.h> | 24 | #include <linux/socket.h> |