summaryrefslogtreecommitdiff
path: root/lib/average.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-01-20 23:46:49 (GMT)
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-28 22:49:27 (GMT)
commitb116ee4d772565d204db057a10fcd81d7a2513a8 (patch)
tree7336a79f5446a8c648ccef609b70027d188b8c12 /lib/average.c
parent4ebc1b4b0004b45e280940db81888a7863d3a01d (diff)
downloadlinux-fsl-qoriq-b116ee4d772565d204db057a10fcd81d7a2513a8.tar.xz
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/average.c')
-rw-r--r--lib/average.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/average.c b/lib/average.c
index 5576c28..57c38c6 100644
--- a/lib/average.c
+++ b/lib/average.c
@@ -7,6 +7,7 @@
#include <linux/module.h>
#include <linux/average.h>
+#include <linux/kernel.h>
#include <linux/bug.h>
#include <linux/log2.h>