OSDN Git Service

usb: usbip tool: Add ncontrollers in vhci_driver structure
authorYuyang Du <yuyang.du@intel.com>
Mon, 22 May 2017 10:20:16 +0000 (18:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 08:48:24 +0000 (10:48 +0200)
commitaa3ecb9154acb99282f315fe6c34ce4b7eb4d67e
tree5a93c493993195b70cff24af1408ea816dc14771
parentc3509715fc9484a48b69a9f0196b728c960840c9
usb: usbip tool: Add ncontrollers in vhci_driver structure

A new field ncontrollers is added to the vhci_driver structure.
And this field is stored by scanning the vhci_hcd* dirs in the
platform udev.

Suggested-and-reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/usbip/libsrc/vhci_driver.c
tools/usb/usbip/libsrc/vhci_driver.h