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:
Sven Schwermer 2018-11-21 08:43:56 +01:00 committed by Marek Vasut
parent ab5817027f
commit fd09c205fc
29 changed files with 92 additions and 92 deletions

View file

@ -14,7 +14,7 @@
#include "ehci.h"
#ifndef CONFIG_DM_USB
#if !CONFIG_IS_ENABLED(DM_USB)
int ehci_hcd_init(int index, enum usb_init_type init,
struct ehci_hccr **hccr, struct ehci_hcor **hcor)