diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 10:24:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 10:24:31 -0700 |
commit | 11bcb32848ddb5ab28f09f142b625e2ba4d55c4c (patch) | |
tree | 9a2c085e1fce41012bb0f2a340f6ceaaf616b7a0 /lib/kobject_uevent.c | |
parent | ed2d265d1266736bd294332d7f649003943ae36e (diff) | |
parent | 8bc3bcc93a2b4e47d5d410146f6546bca6171663 (diff) | |
download | linux-11bcb32848ddb5ab28f09f142b625e2ba4d55c4c.tar.gz linux-11bcb32848ddb5ab28f09f142b625e2ba4d55c4c.tar.bz2 linux-11bcb32848ddb5ab28f09f142b625e2ba4d55c4c.zip |
Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
Pull cleanup of fs/ and lib/ users of module.h from Paul Gortmaker:
"Fix up files in fs/ and lib/ dirs to only use module.h if they really
need it.
These are trivial in scope vs the work done previously. We now have
things where any few remaining cleanups can be farmed out to arch or
subsystem maintainers, and I have done so when possible. What is
remaining here represents the bits that don't clearly lie within a
single arch/subsystem boundary, like the fs dir and the lib dir.
Some duplicate includes arising from overlapping fixes from
independent subsystem maintainer submissions are also quashed."
Fix up trivial conflicts due to clashes with other include file cleanups
(including some due to the previous bug.h cleanup pull).
* tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
lib: reduce the use of module.h wherever possible
fs: reduce the use of module.h wherever possible
includecheck: delete any duplicate instances of module.h
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 75cbdb52bf5c..1a91efa6d121 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c @@ -17,7 +17,8 @@ #include <linux/spinlock.h> #include <linux/string.h> #include <linux/kobject.h> -#include <linux/module.h> +#include <linux/export.h> +#include <linux/kmod.h> #include <linux/slab.h> #include <linux/user_namespace.h> #include <linux/socket.h> |