Explorar o código

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>
Ben Nizette %!s(int64=17) %!d(string=hai) anos
pai
achega
0778361837
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/linux/configfs.h

+ 1 - 0
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>