From: Heinrich Schuchardt Date: Mon, 20 Nov 2023 14:56:36 +0000 (+0100) Subject: usb: USB_XHCI_PCI depends on PCI X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=493e0e2577bfe11b3065a30a6f5c827f95c1df94;p=u-boot.git usb: USB_XHCI_PCI depends on PCI Compiling with CONFIG_USB_XHCI_PCI and CONFIG_PCI=n results in usb/host/xhci-pci.c:48:(.text.xhci_pci_probe+0x44): undefined reference to `dm_pci_write_config32 Add the missing Kconfig dependency. Signed-off-by: Heinrich Schuchardt Reviewed-by: Mark Kettenis Reviewed-by: Marek Vasut --- diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index b501ea514b..35610ffc2b 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -90,7 +90,7 @@ config USB_XHCI_OMAP config USB_XHCI_PCI bool "Support for PCI-based xHCI USB controller" - depends on DM_USB + depends on DM_USB && PCI default y if X86 help Enables support for the PCI-based xHCI controller.