summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Nizette <bn@niasdigital.com>2008-02-15 06:31:31 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-15 07:58:05 +0300
commit0778361837bfaaa0bcf9ee79f0edd10e3a220899 (patch)
tree48ebd4cb4dbd0b4b7b4907f20123b985815ff4b2
parent8943f268f32de8e33c71089d8ba26423633544f2 (diff)
downloadlinux-0778361837bfaaa0bcf9ee79f0edd10e3a220899.tar.xz
Include kernel.h from configfs.h
configfs.h uses the container_of macro and as such should include kernel.h. Signed-off-by: Ben Nizette <bn@niasdigital.com> Cc: Joel Becker <Joel.Becker@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/configfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/configfs.h b/include/linux/configfs.h
index 8c6967f3fb11..4b287ad9371a 100644
--- a/include/linux/configfs.h
+++ b/include/linux/configfs.h
@@ -37,6 +37,7 @@
#ifdef __KERNEL__
+#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/kref.h>