summaryrefslogtreecommitdiff
path: root/drivers/usb/musb-new/omap2430.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-11-27 14:01:45 -0500
committerTom Rini <trini@konsulko.com>2018-11-27 14:01:45 -0500
commit67cf22cbdef8c62ffa28b4caf935825fe410c68d (patch)
tree57659ce202ce5f782442db271e67bd8e3ce409ba /drivers/usb/musb-new/omap2430.c
parent5d5833af64bbafb308b3a2415e3186def678861b (diff)
parent1af9bfd334a5c92cb3123be7c8da3ba0f522cf4a (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
- Introduce CONFIG_SPL_DM_USB
Diffstat (limited to 'drivers/usb/musb-new/omap2430.c')
-rw-r--r--drivers/usb/musb-new/omap2430.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb-new/omap2430.c b/drivers/usb/musb-new/omap2430.c
index 342d76bd6f..58aed72b7d 100644
--- a/drivers/usb/musb-new/omap2430.c
+++ b/drivers/usb/musb-new/omap2430.c
@@ -135,7 +135,7 @@ const struct musb_platform_ops omap2430_ops = {
.disable = omap2430_musb_disable,
};
-#if defined(CONFIG_DM_USB)
+#if CONFIG_IS_ENABLED(DM_USB)
struct omap2430_musb_platdata {
void *base;
@@ -276,4 +276,4 @@ U_BOOT_DRIVER(omap2430_musb) = {
.priv_auto_alloc_size = sizeof(struct musb_host_data),
};
-#endif /* CONFIG_DM_USB */
+#endif /* CONFIG_IS_ENABLED(DM_USB) */