summaryrefslogtreecommitdiffstats
path: root/lib/checksum.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-16 21:29:17 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-03-07 15:04:04 -0500
commit8bc3bcc93a2b4e47d5d410146f6546bca6171663 (patch)
tree101f55a96f751749041c90c32ef1ba89f94dc4d1 /lib/checksum.c
parent630d9c47274aa89bfa77fe6556d7818bdcb12992 (diff)
downloadlinux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.tar.gz
linux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.tar.bz2
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/checksum.c')
-rw-r--r--lib/checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checksum.c b/lib/checksum.c
index 8df2f91e6d98..12dceb27ff20 100644
--- a/lib/checksum.c
+++ b/lib/checksum.c
@@ -32,7 +32,7 @@
/* Revised by Kenneth Albanowski for m68knommu. Basic problem: unaligned access
kills, so most of the assembly has to go. */
-#include <linux/module.h>
+#include <linux/export.h>
#include <net/checksum.h>
#include <asm/byteorder.h>