usb: chipidea: fix the build error with randconfig
authorPeter Chen <peter.chen@freescale.com>
Mon, 29 Jul 2013 10:09:57 +0000 (13:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jul 2013 17:54:31 +0000 (10:54 -0700)
commit972a6c5d56b42d6dd326867d5974ffa58383ec53
treeb35ee6aee47bdaa9c89a9b389eeb19480adea461
parentdec23dca5a9ca4b9eb2fb66926f567889028b904
usb: chipidea: fix the build error with randconfig

Using below  configs, the compile will have error:
ERROR: "ehci_init_driver" undefined!

.config:
CONFIG_USB_CHIPIDEA=m
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_DEBUG=y

The reason is chipidea host uses symbol from ehci, but ehci
is not compiled. Let the chipidea host depend on
ehci even it is built as module.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/Kconfig