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/bitmap.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/bitmap.c')
-rw-r--r-- | lib/bitmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c index 0d4a127dd9b3..6ce1e3b6a52c 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c | |||
@@ -5,7 +5,8 @@ | |||
5 | * This source code is licensed under the GNU General Public License, | 5 | * This source code is licensed under the GNU General Public License, |
6 | * Version 2. See the file COPYING for more details. | 6 | * Version 2. See the file COPYING for more details. |
7 | */ | 7 | */ |
8 | #include <linux/module.h> | 8 | #include <linux/export.h> |
9 | #include <linux/thread_info.h> | ||
9 | #include <linux/ctype.h> | 10 | #include <linux/ctype.h> |
10 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
11 | #include <linux/bitmap.h> | 12 | #include <linux/bitmap.h> |