From: Simon Glass Date: Mon, 2 Aug 2021 00:54:26 +0000 (-0600) Subject: pci: usb: ohci: Test on PCI not DM_PCI X-Git-Tag: v2025.01-rc5-pxa1908~1759^2~16 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B?a=commitdiff_plain;h=990ac1b341f8798cf7106ee79947231430a9aa20;p=u-boot.git pci: usb: ohci: Test on PCI not DM_PCI Now that DM_PCI is always enabled, check on CONFIG_PCI instead. Signed-off-by: Simon Glass [trini: Update for non-PCI users of this code, reword] Signed-off-by: Tom Rini --- diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index c62d8feecc..fedf0db9c7 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -54,7 +54,7 @@ #if defined(CONFIG_CPU_ARM920T) || \ defined(CONFIG_PCI_OHCI) || \ - defined(CONFIG_DM_PCI) || \ + defined(CONFIG_PCI) || \ defined(CONFIG_SYS_OHCI_USE_NPS) # define OHCI_USE_NPS /* force NoPowerSwitching mode */ #endif