From: Kay Sievers Date: Sat, 7 Oct 2006 19:54:55 +0000 (+0200) Subject: Driver core: add device_type to struct device X-Git-Tag: v2.6.21-rc1~92^2~30^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9f852df2faf76a2667949ddb4947d4b8f99f02f;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed