diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-02 03:54:26 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-06 02:45:54 +0300 |
commit | 990ac1b341f8798cf7106ee79947231430a9aa20 (patch) | |
tree | 4c41ea6160f2108bbf440165af762aa9bb390ba6 /drivers/usb | |
parent | 5ccee855f2106eba5a28d9a30f47d94f9ecc17eb (diff) | |
download | u-boot-990ac1b341f8798cf7106ee79947231430a9aa20.tar.xz |
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 <sjg@chromium.org>
[trini: Update for non-PCI users of this code, reword]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |