summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-dwc3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-dwc3.c')
-rw-r--r--drivers/usb/host/xhci-dwc3.c2
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);