]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Driver core: link device and all class devices derived from it.
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 10 Jul 2005 06:21:24 +0000 (01:21 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 23:03:10 +0000 (16:03 -0700)
commit76d1ce00bdd76c2987fbfb763cd40447413a55b3
tree153a44b7e0821d75b6dcd829a0648c62a5bc6fb9
parentd65da6eae10cc77f93ead0188cde0b45f124d912
[PATCH] Driver core: link device and all class devices derived from it.

Driver core: link device and all class devices derived from it.

To ease the task of locating class devices derived from a certain
device create symlinks from parent device to its class devices.
Change USB host class device name from usbX to usb_hostX to avoid
conflict when creating aforementioned links.

Tweaked by Greg to have the symlink be "class_name:class_device_name" in
order to prevent duplicate links.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
drivers/usb/core/hcd.c