Skip to content

Commit

Permalink
range: fix bogus misuse of module.h to get printk()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 639938e commit 9a41845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/range.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Range add and subtract
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sort.h>

Expand Down

0 comments on commit 9a41845

Please sign in to comment.