Explorar o código

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 %!s(int64=14) %!d(string=hai) anos
pai
achega
9a41845513
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      kernel/range.c

+ 1 - 1
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>