]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
range: fix bogus misuse of module.h to get printk()
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 25 May 2011 13:52:21 +0000 (09:52 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:00 +0000 (19:09 -0400)
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>
kernel/range.c

index 37fa9b99ad588356534b1457b7241d97573705b8..9b8ae2d6ed68794ac4b010999465990b24053f5e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Range add and subtract
  */
-#include <linux/module.h>
+#include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/sort.h>