diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-01-20 18:46:49 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-28 17:49:27 -0500 |
commit | b116ee4d772565d204db057a10fcd81d7a2513a8 (patch) | |
tree | 7336a79f5446a8c648ccef609b70027d188b8c12 /lib | |
parent | 4ebc1b4b0004b45e280940db81888a7863d3a01d (diff) |
lib: fix implicit users of kernel.h for TAINT_WARN
A pending header cleanup will cause this to show up as:
lib/average.c:38: error: 'TAINT_WARN' undeclared (first use in this function)
lib/list_debug.c:24: error: 'TAINT_WARN' undeclared (first use in this function)
and TAINT_WARN comes from include/linux/kernel.h file.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/average.c | 1 | ||||
-rw-r--r-- | lib/list_debug.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/average.c b/lib/average.c index 5576c2841496..57c38c6e39cd 100644 --- a/lib/average.c +++ b/lib/average.c | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
9 | #include <linux/average.h> | 9 | #include <linux/average.h> |
10 | #include <linux/kernel.h> | ||
10 | #include <linux/bug.h> | 11 | #include <linux/bug.h> |
11 | #include <linux/log2.h> | 12 | #include <linux/log2.h> |
12 | 13 | ||
diff --git a/lib/list_debug.c b/lib/list_debug.c index b8029a5583ff..7204e619a4c1 100644 --- a/lib/list_debug.c +++ b/lib/list_debug.c | |||
@@ -8,6 +8,7 @@ | |||
8 | 8 | ||
9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
10 | #include <linux/list.h> | 10 | #include <linux/list.h> |
11 | #include <linux/kernel.h> | ||
11 | 12 | ||
12 | /* | 13 | /* |
13 | * Insert a new entry between two known consecutive entries. | 14 | * Insert a new entry between two known consecutive entries. |