diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-17 06:29:17 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-08 00:04:04 +0400 |
commit | 8bc3bcc93a2b4e47d5d410146f6546bca6171663 (patch) | |
tree | 101f55a96f751749041c90c32ef1ba89f94dc4d1 /lib/average.c | |
parent | 630d9c47274aa89bfa77fe6556d7818bdcb12992 (diff) | |
download | linux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.tar.xz |
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/average.c')
-rw-r--r-- | lib/average.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/average.c b/lib/average.c index 5576c2841496..99a67e662b3c 100644 --- a/lib/average.c +++ b/lib/average.c @@ -5,8 +5,9 @@ * Version 2. See the file COPYING for more details. */ -#include <linux/module.h> +#include <linux/export.h> #include <linux/average.h> +#include <linux/kernel.h> #include <linux/bug.h> #include <linux/log2.h> |