aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-07 14:12:07 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 14:29:37 -0400
commitea92f95d630cba9c3a324d250258ad2e35d9c997 (patch)
tree68ad93bb452ccf3873a9b457a8cca9ea7e3c1916 /drivers/usb/host/ohci.h
parentcb9843bda3e500eb4add1927be4ed72077a69774 (diff)
parentc45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (diff)
Merge branch '2022-07-07-Kconfig-migrations-dead-code-removal' into next
- Migrate more CONFIG options to Kconfig and remove some unused code while we're at it.
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r--drivers/usb/host/ohci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index a38cd25eb8..7699f2e6b1 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -151,7 +151,7 @@ struct ohci_hcca {
* Maximum number of root hub ports.
*/
#ifndef CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS
-# error "CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS undefined!"
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
#endif
/*