usb: host: only activate Efika MX ULPI workaround if ULPI is selected
Fixes a build failure with disabled ULPI support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
3127a942b7
commit
0f1078d5cc
|
@ -437,7 +437,7 @@ fail:
|
|||
return -1;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MACH_EFIKA_MX_SMARTBOOK
|
||||
#if defined(CONFIG_MACH_EFIKA_MX_SMARTBOOK) && defined(CONFIG_USB_ULPI)
|
||||
#include <usb/ulpi.h>
|
||||
/*
|
||||
* Add support for setting CHRGVBUS to workaround a hardware bug on efika mx/sb
|
||||
|
|
Loading…
Reference in New Issue