On 11/14/25 11:19 AM, Heinrich Schuchardt wrote:
CONFIG_USB_EHCI_PCI cannot work without CONFIG_PCI.
The detection of an EHCI PCI device fails without CONFIG_USB_EHCI_HCD.

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
  drivers/usb/host/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 427b62e934b..7282a34ff00 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -271,6 +271,7 @@ config USB_EHCI_MSM
config USB_EHCI_PCI
        bool "Support for PCI-based EHCI USB controller"
+       depends on PCI && USB_EHCI_HCD

Isn't this symbol already wrapped in 'if USB_EHCI_HCD' at line cca. 168 ? Does it have to be 'depends on PCI && USB_EHCI_HCD' here , or would 'depends on PCI' be enough ?

Reply via email to