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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user