]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Include kernel.h from configfs.h
authorBen Nizette <bn@niasdigital.com>
Fri, 15 Feb 2008 03:31:31 +0000 (19:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 15 Feb 2008 04:58:05 +0000 (20:58 -0800)
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>
include/linux/configfs.h

index 8c6967f3fb1101002a3fddb9141979cca208255e..4b287ad9371abe101956dd2a05015ca7cda7459f 100644 (file)
@@ -37,6 +37,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/list.h>
 #include <linux/kref.h>