projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639938e
)
range: fix bogus misuse of module.h to get printk()
author
Paul Gortmaker
<paul.gortmaker@windriver.com>
Wed, 25 May 2011 13:52:21 +0000
(09:52 -0400)
committer
Paul Gortmaker
<paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 13:20:11 +0000
(09:20 -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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/range.c
b/kernel/range.c
index 37fa9b99ad588356534b1457b7241d97573705b8..9b8ae2d6ed68794ac4b010999465990b24053f5e 100644
(file)
--- 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>