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/eth | |
parent | ab5817027f9b4fce25f5f2a3e20577ac55bbd7e0 (diff) | |
download | u-boot-fd09c205fc57b90a782cac33449ef172575d0a8c.tar.gz |
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/eth')
-rw-r--r-- | drivers/usb/eth/usb_ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c index 1ce3361b45..3aca9ac265 100644 --- a/drivers/usb/eth/usb_ether.c +++ b/drivers/usb/eth/usb_ether.c @@ -271,7 +271,7 @@ int usb_host_eth_scan(int mode) } usb_max_eth_dev = 0; -#ifdef CONFIG_DM_USB +#if CONFIG_IS_ENABLED(DM_USB) /* * TODO: We should add U_BOOT_USB_DEVICE() declarations to each USB * Ethernet driver and then most of this file can be removed. |