]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Driver core: add generic "subsystem" link to all devices
authorKay Sievers <kay.sievers@suse.de>
Thu, 15 Jun 2006 13:31:56 +0000 (15:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 19:40:49 +0000 (12:40 -0700)
commitb9d9c82b4d081feb464f62dfc786c8621d09ecd2
tree511d15b4d7aaba80a2c0fe49622a3224ca386122
parent23681e479129854305da1da32f7f1eaf635ef22c
[PATCH] Driver core: add generic "subsystem" link to all devices

Like the SUBSYTEM= key we find in the environment of the uevent, this
creates a generic "subsystem" link in sysfs for every device. Userspace
usually doesn't care at all if its a "class" or a "bus" device. This
provides an unified way to determine the subsytem of a device, regardless
of the way the driver core has created it.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/genhd.c
drivers/base/bus.c
drivers/base/class.c
drivers/base/core.c
fs/partitions/check.c