]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:13 +0000 (09:54 +0800)
commit42b26d179e42e79bb987dbbf172bb0cd41f5fca5
treecad855ce65a9387e977de1396f76c61350c289b9
parent05c5d88c15d2463cc4a76de5890c43eb452ac7be
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