]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/kobject.h
Kobject: auto-cleanup on final unref
[linux-2.6-omap-h63xx.git] / include / linux / kobject.h
index 63967da073afbaf87b0d3a5cf56e1529ba7ebcbd..be03ce83f9cca5ceca5d027daa7259c05538791c 100644 (file)
@@ -68,6 +68,11 @@ struct kobject {
        struct kset             * kset;
        struct kobj_type        * ktype;
        struct sysfs_dirent     * sd;
+       unsigned int state_initialized:1;
+       unsigned int state_name_set:1;
+       unsigned int state_in_sysfs:1;
+       unsigned int state_add_uevent_sent:1;
+       unsigned int state_remove_uevent_sent:1;
 };
 
 extern int kobject_set_name(struct kobject *, const char *, ...)