aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/xhci.c')
-rw-r--r--src/soc/intel/apollolake/xhci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/xhci.c b/src/soc/intel/apollolake/xhci.c
index 4584dc7085..47156f4102 100644
--- a/src/soc/intel/apollolake/xhci.c
+++ b/src/soc/intel/apollolake/xhci.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <device/pci_type.h>
#include <intelblocks/xhci.h>
#define XHCI_USB2_PORT_STATUS_REG 0x480
@@ -19,7 +20,8 @@ static const struct xhci_usb_info usb_info = {
.num_usb3_ports = XHCI_USB3_PORT_NUM,
};
-const struct xhci_usb_info *soc_get_xhci_usb_info(void)
+const struct xhci_usb_info *soc_get_xhci_usb_info(pci_devfn_t xhci_dev)
{
+ /* Apollo Lake only has one XHCI controller */
return &usb_info;
}