summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@novell.com>2006-10-07 21:54:55 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 10:37:14 -0800
commitf9f852df2faf76a2667949ddb4947d4b8f99f02f (patch)
tree3dfdbae06ef17c83266cc18ed77fcd1c51328c15 /usr
parent239378f16aa1ab5c502e42a06359d2de4f88ebb4 (diff)
downloadlinux-3.10-f9f852df2faf76a2667949ddb4947d4b8f99f02f.tar.gz
linux-3.10-f9f852df2faf76a2667949ddb4947d4b8f99f02f.tar.bz2
linux-3.10-f9f852df2faf76a2667949ddb4947d4b8f99f02f.zip
Driver core: add device_type to struct device
This allows us to add type specific attributes, uevent vars and release funtions. A subsystem can carry different types of devices like the "block" subsys has disks and partitions. Both types create a different set of attributes, but belong to the same subsystem. This corresponds to the low level objects: kobject -> device (object/device data) kobj_type -> device_type (type of object/device we are embedded in) kset -> class/bus (list of objects/devices of a subsystem) Signed-off-by: Kay Sievers <kay.sievers@novell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions