diff options
author | Sven Schwermer <sven@svenschwermer.de> | 2018-11-21 08:43:56 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-11-26 21:19:03 +0100 |
commit | fd09c205fc57b90a782cac33449ef172575d0a8c (patch) | |
tree | b23d462a78db88ec589c50d769fa6522b3f16c63 /drivers/usb/host/xhci-dwc3.c | |
parent | ab5817027f9b4fce25f5f2a3e20577ac55bbd7e0 (diff) |
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>
Diffstat (limited to 'drivers/usb/host/xhci-dwc3.c')
-rw-r--r-- | drivers/usb/host/xhci-dwc3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 80754d76d0..dd0d156027 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/host/xhci-dwc3.c @@ -109,7 +109,7 @@ void dwc3_set_fladj(struct dwc3 *dwc3_reg, u32 val) GFLADJ_30MHZ(val)); } -#ifdef CONFIG_DM_USB +#if CONFIG_IS_ENABLED(DM_USB) static int xhci_dwc3_setup_phy(struct udevice *dev) { struct xhci_dwc3_platdata *plat = dev_get_platdata(dev); |