diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-01-04 00:33:45 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-01-04 00:33:45 -0600 |
| commit | 2e1c40373d7e424a20b44858246ad3ef2ddc4a36 (patch) | |
| tree | 47efdac1d5d789bef2b844b1747e15ef6034a452 /include | |
| parent | 46dbdc4e7e5c8814abebce64e4ba17bd5abf87ae (diff) | |
driver model: clean up struct device_class a bit.
- Remove unused class_list.
- Use lists in subordinate subsystems for storing lists of devices and
drivers.
- Rename 'drvsubsys' to 'drivers' and 'devsubsys' to 'devices', to be more
meaningful.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/device.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index e04fcb87aca6..2a67cef3ae9f 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -162,10 +162,8 @@ struct device_class { u32 devnum; struct subsystem subsys; - struct subsystem devsubsys; - struct subsystem drvsubsys; - struct list_head drivers; - struct list_head devices; + struct subsystem devices; + struct subsystem drivers; int (*add_device)(struct device *); void (*remove_device)(struct device *); |
