usbip: vhci-hcd: Rework vhci_hcd_init
authorYuyang Du <yuyang.du@intel.com>
Thu, 8 Jun 2017 05:04:08 +0000 (13:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 08:51:10 +0000 (10:51 +0200)
commitdff3565b8e1c0be6fc83ba47dcab45c149dcab5b
treeeecdc8e61cba37461c7711a55b7725620ec1a38e
parent89a73d281fa4f58942474ada19d34d7ea39af2f4
usbip: vhci-hcd: Rework vhci_hcd_init

A vhci struct is added as the platform-specific data to the vhci
platform device, in order to get the vhci by its platform device.
This is done in vhci_hcd_init().

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>
drivers/usb/usbip/vhci_hcd.c
tools/usb/usbip/libsrc/vhci_driver.c
tools/usb/usbip/libsrc/vhci_driver.h