mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/
This allows to disable the USB driver model in SPL because it checks the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for regular non-SPL builds. Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
This commit is contained in:
parent
ab5817027f
commit
fd09c205fc
29 changed files with 92 additions and 92 deletions
|
@ -789,7 +789,7 @@ MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>");
|
|||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_DESCRIPTION("DesignWare USB3 DRD Controller Driver");
|
||||
|
||||
#ifdef CONFIG_DM_USB
|
||||
#if CONFIG_IS_ENABLED(DM_USB)
|
||||
|
||||
int dwc3_init(struct dwc3 *dwc)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue