From 990ac1b341f8798cf7106ee79947231430a9aa20 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 1 Aug 2021 18:54:26 -0600 Subject: [PATCH] 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 --- drivers/usb/host/ohci-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index c62d8fe..fedf0db 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 -- 2.7.4