aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/usbip/vhci.h
diff options
context:
space:
mode:
authorYuyang Du <yuyang.du@intel.com>2017-06-08 13:04:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-13 10:51:10 +0200
commit03cd00d538a6feb0492cd153edf256ef7d7bd95e (patch)
tree405fd03ca406c69c1fd569d5f1ac8573dc56abd4 /drivers/usb/usbip/vhci.h
parentusbip: vhci-hcd: Rework vhci_hcd_init (diff)
downloadlinux-dev-03cd00d538a6feb0492cd153edf256ef7d7bd95e.tar.xz
linux-dev-03cd00d538a6feb0492cd153edf256ef7d7bd95e.zip
usbip: vhci-hcd: Set the vhci structure up to work
This patch enables the new vhci structure. Its lock protects both the USB2 hub and the shared USB3 hub. 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>
Diffstat (limited to 'drivers/usb/usbip/vhci.h')
-rw-r--r--drivers/usb/usbip/vhci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/usbip/vhci.h b/drivers/usb/usbip/vhci.h
index 62ee537b44c8..8a979fc00ac1 100644
--- a/drivers/usb/usbip/vhci.h
+++ b/drivers/usb/usbip/vhci.h
@@ -100,8 +100,6 @@ struct vhci {
struct vhci_hcd {
struct vhci *vhci;
- spinlock_t lock;
-
u32 port_status[VHCI_HC_PORTS];
unsigned resuming:1;