diff options
Diffstat (limited to 'drivers/base/base.h')
-rw-r--r-- | drivers/base/base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h index c035dc23266a..31dc0cd84afa 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h | |||
@@ -44,7 +44,7 @@ struct driver_private { | |||
44 | * @class_devices - list of devices associated with this class | 44 | * @class_devices - list of devices associated with this class |
45 | * @class_interfaces - list of class_interfaces associated with this class | 45 | * @class_interfaces - list of class_interfaces associated with this class |
46 | * @class_dirs - "glue" directory for virtual devices associated with this class | 46 | * @class_dirs - "glue" directory for virtual devices associated with this class |
47 | * @class_sem - semaphore to protect the children, devices, and interfaces lists. | 47 | * @class_mutex - mutex to protect the children, devices, and interfaces lists. |
48 | * @class - pointer back to the struct class that this structure is associated | 48 | * @class - pointer back to the struct class that this structure is associated |
49 | * with. | 49 | * with. |
50 | * | 50 | * |
@@ -57,7 +57,7 @@ struct class_private { | |||
57 | struct list_head class_devices; | 57 | struct list_head class_devices; |
58 | struct list_head class_interfaces; | 58 | struct list_head class_interfaces; |
59 | struct kset class_dirs; | 59 | struct kset class_dirs; |
60 | struct semaphore class_sem; | 60 | struct mutex class_mutex; |
61 | struct class *class; | 61 | struct class *class; |
62 | }; | 62 | }; |
63 | #define to_class(obj) \ | 63 | #define to_class(obj) \ |