aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/xhci-mem.c1
-rw-r--r--drivers/usb/host/xhci.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 9afce47e69df..1755c668ac05 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -922,6 +922,7 @@ int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud
922 top_dev = top_dev->parent) 922 top_dev = top_dev->parent)
923 /* Found device below root hub */; 923 /* Found device below root hub */;
924 dev->fake_port = top_dev->portnum; 924 dev->fake_port = top_dev->portnum;
925 dev->real_port = port_num;
925 xhci_dbg(xhci, "Set root hub portnum to %d\n", port_num); 926 xhci_dbg(xhci, "Set root hub portnum to %d\n", port_num);
926 xhci_dbg(xhci, "Set fake root hub portnum to %d\n", dev->fake_port); 927 xhci_dbg(xhci, "Set fake root hub portnum to %d\n", dev->fake_port);
927 928
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index bfb3fab20795..ec4817003a56 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -799,6 +799,7 @@ struct xhci_virt_device {
799 u32 cmd_status; 799 u32 cmd_status;
800 struct list_head cmd_list; 800 struct list_head cmd_list;
801 u8 fake_port; 801 u8 fake_port;
802 u8 real_port;
802}; 803};
803 804
804 805