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>
This commit is contained in:
Paul Gortmaker 2011-11-16 21:29:17 -05:00
parent 630d9c4727
commit 8bc3bcc93a
63 changed files with 74 additions and 63 deletions

View file

@ -6,7 +6,8 @@
*/
#include <linux/ctype.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/export.h>
#include <linux/parser.h>
#include <linux/slab.h>
#include <linux/string.h>