summaryrefslogtreecommitdiffstats
path: root/drivers/base/base.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-28 09:28:39 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 21:54:51 -0700
commit97ae69fdbaa71a8f7dbc20bf10fb349d1759152f (patch)
tree9d8c3842cf7e1d43d67c265e5e69a964df541cd1 /drivers/base/base.h
parent7c71448b8aa80123fc521563d5f7c63a099d97ab (diff)
downloadop-kernel-dev-97ae69fdbaa71a8f7dbc20bf10fb349d1759152f.zip
op-kernel-dev-97ae69fdbaa71a8f7dbc20bf10fb349d1759152f.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h
index 0ec372a..586c4ca 100644
--- a/drivers/base/base.h
+++ b/drivers/base/base.h
@@ -42,7 +42,7 @@ struct driver_private {
*
* @subsys - the struct kset that defines this class. This is the main kobject
* @children - list of class_devices associated with this class
- * @devices - list of devices associated with this class
+ * @class_devices - list of devices associated with this class
* @interfaces - list of class_interfaces associated with this class
* @class_dirs -
* @sem - semaphore to protect the children, devices, and interfaces lists.
@@ -55,7 +55,7 @@ struct driver_private {
*/
struct class_private {
struct kset subsys;
- struct list_head devices;
+ struct list_head class_devices;
struct list_head interfaces;
struct kset class_dirs;
struct semaphore sem;
OpenPOWER on IntegriCloud