From 719d7d8df41d2f20be599c38c3ab3e7a904c92c6 Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Tue, 8 Sep 2020 18:59:55 +0200 Subject: usb: xhci: add a member hci_version in xhci_ctrl struct Add a member to save xHCI version, it's used some times. Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- include/usb/xhci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/usb/xhci.h b/include/usb/xhci.h index 7d34103fd5c..a3e5914b10f 100644 --- a/include/usb/xhci.h +++ b/include/usb/xhci.h @@ -1227,6 +1227,7 @@ struct xhci_ctrl { struct xhci_scratchpad *scratchpad; struct xhci_virt_device *devs[MAX_HC_SLOTS]; int rootdev; + u16 hci_version; }; unsigned long trb_addr(struct xhci_segment *seg, union xhci_trb *trb); -- cgit v1.3.1