lib: reduce the use of module.h wherever possible
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 Nov 2011 02:29:17 +0000 (21:29 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 7 Mar 2012 20:04:04 +0000 (15:04 -0500)
commit8bc3bcc93a2b4e47d5d410146f6546bca6171663
tree101f55a96f751749041c90c32ef1ba89f94dc4d1
parent630d9c47274aa89bfa77fe6556d7818bdcb12992
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>
63 files changed:
lib/argv_split.c
lib/atomic64.c
lib/average.c
lib/bcd.c
lib/bitmap.c
lib/bsearch.c
lib/check_signature.c
lib/checksum.c
lib/cmdline.c
lib/cpu_rmap.c
lib/cpumask.c
lib/ctype.c
lib/debug_locks.c
lib/dec_and_lock.c
lib/devres.c
lib/div64.c
lib/dump_stack.c
lib/fault-inject.c
lib/find_last_bit.c
lib/find_next_bit.c
lib/flex_array.c
lib/gcd.c
lib/genalloc.c
lib/halfmd4.c
lib/hexdump.c
lib/hweight.c
lib/idr.c
lib/int_sqrt.c
lib/iomap.c
lib/iomap_copy.c
lib/iommu-helper.c
lib/ioremap.c
lib/irq_regs.c
lib/kasprintf.c
lib/klist.c
lib/kobject.c
lib/kobject_uevent.c
lib/kstrtox.c
lib/lcm.c
lib/list_debug.c
lib/llist.c
lib/locking-selftest.c
lib/md5.c
lib/nlattr.c
lib/parser.c
lib/radix-tree.c
lib/random32.c
lib/ratelimit.c
lib/rational.c
lib/rbtree.c
lib/rwsem-spinlock.c
lib/rwsem.c
lib/scatterlist.c
lib/sha1.c
lib/smp_processor_id.c
lib/spinlock_debug.c
lib/string.c
lib/string_helpers.c
lib/swiotlb.c
lib/syscall.c
lib/timerqueue.c
lib/uuid.c
lib/vsprintf.c