]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Create link files between child device and usb port device.
authorLan Tianyu <tianyu.lan@intel.com>
Sat, 19 Jan 2013 17:53:33 +0000 (01:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 00:10:46 +0000 (16:10 -0800)
commit0054e5bcd3c375a7e59495f14244dc4a965b6910
treefd715e34b12903d40f0f30b7c8b7359ab8e31826
parent20beeec76f43c6307f6886a06e37c4804d1ed067
usb: Create link files between child device and usb port device.

To show the relationship between usb port and child device,
add link file "port" under usb device's sysfs directoy and
"device" under usb port device's sysfs directory. They are linked
to each other.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c