Skip to contentSkip to conversation

Include kernel.h from configfs.h

PATCH New [email protected] 1 participant 1 message Feb 11, 2008 configfs

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include kernel.h from configfs.h

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

---

include/linux/configfs.h +1 -0
index 8c6967f..4b287ad 100644
@@ -37,6 +37,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/list.h>
 #include <linux/kref.h>