aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2011-09-02 14:05:41 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-09 18:52:52 -0400
commitfe30182c2553f491e5dc12074c8e52163d3bfbc7 (patch)
tree69b24ddcf5f49db3854035350da06dcb6697205d /drivers/usb/host/xhci-mem.c
parent2dc3753997f3c80ce8b950242ab9bb3fb936acfd (diff)
xhci: Rename virt_dev->port to fake_port.
The "port" field in xhci_virt_dev stores the port number associated with one of the two xHCI split roothubs, not the unique port number the xHCI hardware uses. Since we'll need to store the real hardware port number in future patches, rename this field to "fake_port". Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index d873a0330c9e..9afce47e69df 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -921,9 +921,9 @@ int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud
921 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; 921 for (top_dev = udev; top_dev->parent && top_dev->parent->parent;
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->port = top_dev->portnum; 924 dev->fake_port = top_dev->portnum;
925 xhci_dbg(xhci, "Set root hub portnum to %d\n", port_num); 925 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->port); 926 xhci_dbg(xhci, "Set fake root hub portnum to %d\n", dev->fake_port);
927 927
928 /* Is this a LS/FS device under an external HS hub? */ 928 /* Is this a LS/FS device under an external HS hub? */
929 if (udev->tt && udev->tt->hub->parent) { 929 if (udev->tt && udev->tt->hub->parent) {