summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorManish Lachwani <mlachwani@mvista.com>2005-02-01 16:29:17 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-01 16:29:17 -0800
commitff930604b6935c96da7b073f474464d2285ad2eb (patch)
tree9d1cf7cef4412f94e83582705453df1789b2710c /include/linux/kobject.h
parenta3fabdcf06be447ccb9fc0534508851372aa9bbf (diff)
[PATCH] kobject build fix
include/linux/kobject.h: In function `to_kset': include/linux/kobject.h:116: warning: implicit declaration of function `container_of' Signed-off-by: Manish Lachwani <mlachwani@mvista.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index c22c8724a8dc..dc773d4043e8 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -23,6 +23,7 @@
#include <linux/rwsem.h>
#include <linux/kref.h>
#include <linux/kobject_uevent.h>
+#include <linux/kernel.h>
#include <asm/atomic.h>
#define KOBJ_NAME_LEN 20