[PATCH] Include kernel.h from configfs.h

From: bn
Date: Mon Feb 11 2008 - 07:16:46 EST



configfs.h uses the container_of macro and as such should include kernel.h.

Signed-Off-By: Ben Nizette <bn@xxxxxxxxxxxxxxx>
---
diff --git a/include/linux/configfs.h b/include/linux/configfs.h
index 8c6967f..4b287ad 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>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/