]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device.h
driver core: fix namespace issue with devices assigned to classes
[linux-2.6-omap-h63xx.git] / include / linux / device.h
index 5cf30e95c8b649fb0dbae32f1c20a4840b4cbff3..de0e73eae6bc261b99bdaeaaf8f458d62f5ca349 100644 (file)
@@ -181,10 +181,9 @@ struct class {
        struct list_head        children;
        struct list_head        devices;
        struct list_head        interfaces;
+       struct kset             class_dirs;
        struct semaphore        sem;    /* locks both the children and interfaces lists */
 
-       struct kobject          *virtual_dir;
-
        struct class_attribute          * class_attrs;
        struct class_device_attribute   * class_dev_attrs;
        struct device_attribute         * dev_attrs;