2008-02-11 12:16:23

by Ben Nizette

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
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>