Browse Source

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>
Paul Gortmaker 14 years ago
parent
commit
9a41845513
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/range.c

+ 1 - 1
kernel/range.c

@@ -1,7 +1,7 @@
 /*
 /*
  * Range add and subtract
  * Range add and subtract
  */
  */
-#include <linux/module.h>
+#include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/sort.h>
 #include <linux/sort.h>