9
0
Fork 0

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:
Lucas Stach 2014-11-25 18:02:50 +01:00 committed by Sascha Hauer
parent 3127a942b7
commit 0f1078d5cc
1 changed files with 1 additions and 1 deletions

View File

@ -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