]> err.no Git - linux-2.6/blobdiff - include/linux/kobject.h
[PATCH] libata-eh: implement new EH
[linux-2.6] / include / linux / kobject.h
index 4cb1214ec29091919215d5db84323f68b638590e..dcd0623be892fb522d82b698f51365f760f8a03d 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/rwsem.h>
 #include <linux/kref.h>
 #include <linux/kernel.h>
+#include <linux/wait.h>
 #include <asm/atomic.h>
 
 #define KOBJ_NAME_LEN                  20
@@ -56,6 +57,7 @@ struct kobject {
        struct kset             * kset;
        struct kobj_type        * ktype;
        struct dentry           * dentry;
+       wait_queue_head_t       poll;
 };
 
 extern int kobject_set_name(struct kobject *, const char *, ...)