Re: [PATCH 1/1] usb: chipidea: fix the build error with randconfig

2013-07-10 Thread Alexander Shishkin
Peter Chen writes: > 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

[PATCH 1/1] usb: chipidea: fix the build error with randconfig

2013-07-08 Thread Peter Chen
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 i