diff options
| author | Simon Glass <[email protected]> | 2021-08-01 18:54:26 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-08-05 19:45:54 -0400 |
| commit | 990ac1b341f8798cf7106ee79947231430a9aa20 (patch) | |
| tree | 4c41ea6160f2108bbf440165af762aa9bb390ba6 /drivers | |
| parent | 5ccee855f2106eba5a28d9a30f47d94f9ecc17eb (diff) | |
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 <[email protected]>
[trini: Update for non-PCI users of this code, reword]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -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 c62d8feecce..fedf0db9c7e 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 |
