From dc4e48d845d9971d2b21f99c12f874dd06cedc0a Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Tue, 16 Jul 2019 10:49:05 +0200 Subject: [PATCH] usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI set OHCI_USE_NPS if DM_PCI is enabled. Signed-off-by: Heiko Schocher --- drivers/usb/host/ohci-hcd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index bd498da096..23ea2af5d7 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -50,8 +50,9 @@ #endif #if defined(CONFIG_CPU_ARM920T) || \ - defined(CONFIG_PCI_OHCI) || \ - defined(CONFIG_SYS_OHCI_USE_NPS) + defined(CONFIG_PCI_OHCI) || \ + defined(CONFIG_DM_PCI) || \ + defined(CONFIG_SYS_OHCI_USE_NPS) # define OHCI_USE_NPS /* force NoPowerSwitching mode */ #endif -- 2.25.1