summaryrefslogtreecommitdiffstats
path: root/kernel/range.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-25 09:52:21 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 09:20:11 -0400
commit9a418455134f5dc23f124d2818b2e8e1cea997a1 (patch)
tree00ea2166df995f4e03adfbc93807f54421ce4e80 /kernel/range.c
parent639938eb606e94af498c589feae2f0b8a5c285d1 (diff)
downloadop-kernel-dev-9a418455134f5dc23f124d2818b2e8e1cea997a1.zip
op-kernel-dev-9a418455134f5dc23f124d2818b2e8e1cea997a1.tar.gz
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>
Diffstat (limited to 'kernel/range.c')
-rw-r--r--kernel/range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/range.c b/kernel/range.c
index 37fa9b9..9b8ae2d 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>
OpenPOWER on IntegriCloud