diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-17 03:29:17 +0100 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-07 21:04:04 +0100 |
commit | 8bc3bcc93a2b4e47d5d410146f6546bca6171663 (patch) | |
tree | 101f55a96f751749041c90c32ef1ba89f94dc4d1 /lib/spinlock_debug.c | |
parent | fs: reduce the use of module.h wherever possible (diff) | |
download | linux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.tar.xz linux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.zip |
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/spinlock_debug.c')
-rw-r--r-- | lib/spinlock_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spinlock_debug.c b/lib/spinlock_debug.c index 5f3eacdd6178..525d160d44f0 100644 --- a/lib/spinlock_debug.c +++ b/lib/spinlock_debug.c @@ -11,7 +11,7 @@ #include <linux/interrupt.h> #include <linux/debug_locks.h> #include <linux/delay.h> -#include <linux/module.h> +#include <linux/export.h> void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, struct lock_class_key *key) |