diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-28 12:28:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:54:51 -0400 |
commit | 97ae69fdbaa71a8f7dbc20bf10fb349d1759152f (patch) | |
tree | 9d8c3842cf7e1d43d67c265e5e69a964df541cd1 /drivers/base/base.h | |
parent | 7c71448b8aa80123fc521563d5f7c63a099d97ab (diff) |
class: rename "devices" to "class_devices" in internal class structure
This renames the struct class "devices" field to be "class_devices" to
make things easier when struct bus_type and struct class merge in the
future. It also makes grepping for fields easier as well.
Based on an idea from Kay.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 0ec372a67762..586c4ca70252 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h | |||
@@ -42,7 +42,7 @@ struct driver_private { | |||
42 | * | 42 | * |
43 | * @subsys - the struct kset that defines this class. This is the main kobject | 43 | * @subsys - the struct kset that defines this class. This is the main kobject |
44 | * @children - list of class_devices associated with this class | 44 | * @children - list of class_devices associated with this class |
45 | * @devices - list of devices associated with this class | 45 | * @class_devices - list of devices associated with this class |
46 | * @interfaces - list of class_interfaces associated with this class | 46 | * @interfaces - list of class_interfaces associated with this class |
47 | * @class_dirs - | 47 | * @class_dirs - |
48 | * @sem - semaphore to protect the children, devices, and interfaces lists. | 48 | * @sem - semaphore to protect the children, devices, and interfaces lists. |
@@ -55,7 +55,7 @@ struct driver_private { | |||
55 | */ | 55 | */ |
56 | struct class_private { | 56 | struct class_private { |
57 | struct kset subsys; | 57 | struct kset subsys; |
58 | struct list_head devices; | 58 | struct list_head class_devices; |
59 | struct list_head interfaces; | 59 | struct list_head interfaces; |
60 | struct kset class_dirs; | 60 | struct kset class_dirs; |
61 | struct semaphore sem; | 61 | struct semaphore sem; |