diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-25 15:52:21 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 14:20:11 +0100 |
commit | 9a418455134f5dc23f124d2818b2e8e1cea997a1 (patch) | |
tree | 00ea2166df995f4e03adfbc93807f54421ce4e80 | |
parent | module.h: relocate MODULE_PARM_DESC into moduleparam.h (diff) | |
download | linux-9a418455134f5dc23f124d2818b2e8e1cea997a1.tar.xz linux-9a418455134f5dc23f124d2818b2e8e1cea997a1.zip |
range: fix bogus misuse of module.h to get printk()
This file isn't doing anything with modules and so it should
not be including <linux/module.h> just to get basic stuff
like printk() and min/max. Revector it to <linux/kernel.h>.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | kernel/range.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/range.c b/kernel/range.c index 37fa9b99ad58..9b8ae2d6ed68 100644 --- a/kernel/range.c +++ b/kernel/range.c @@ -1,7 +1,7 @@ /* * Range add and subtract */ -#include <linux/module.h> +#include <linux/kernel.h> #include <linux/init.h> #include <linux/sort.h> |