Re: [PATCH] usb: chipidea: enable to build host support as module

2013-08-12 Thread Luka Perkov
Hi Peter,

On Mon, Aug 12, 2013 at 09:28:28AM +0800, Peter Chen wrote:
 On Sun, Aug 11, 2013 at 01:00:49PM +0200, Luka Perkov wrote:
  USB_CHIPIDEA_HOST does not need to depend on USB=y, USB_CHIPIDEA_HOST will 
  work
  just fine even if USB=m is used. The depends line can be safely removed 
  since
  USB_CHIPIDEA already depends on USB.

...

 Lothar has already posted a solution for it.
 
 http://marc.info/?l=linux-usbm=137533651927159w=2

Great, didn't know that.

Luka
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] usb: chipidea: enable to build host support as module

2013-08-11 Thread Peter Chen
On Sun, Aug 11, 2013 at 01:00:49PM +0200, Luka Perkov wrote:
 USB_CHIPIDEA_HOST does not need to depend on USB=y, USB_CHIPIDEA_HOST will 
 work
 just fine even if USB=m is used. The depends line can be safely removed since
 USB_CHIPIDEA already depends on USB.
 
 Tested on Gateworks imx6q Ventana board (gw-5400-a) and imx6dl Wandboard Dual
 (imx6dl-wandboard).
 
 Signed-off-by: Luka Perkov l...@openwrt.org
 ---
  drivers/usb/chipidea/Kconfig | 1 -
  1 file changed, 1 deletion(-)
 
 diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig
 index d1bd8ef..3eb5a31 100644
 --- a/drivers/usb/chipidea/Kconfig
 +++ b/drivers/usb/chipidea/Kconfig
 @@ -19,7 +19,6 @@ config USB_CHIPIDEA_UDC
  
  config USB_CHIPIDEA_HOST
   bool ChipIdea host controller
 - depends on USB=y
   depends on USB_EHCI_HCD=y || (USB_CHIPIDEA=m  USB_EHCI_HCD=m)
   select USB_EHCI_ROOT_HUB_TT
   help

Hi Luka,

Lothar has already posted a solution for it.

http://marc.info/?l=linux-usbm=137533651927159w=2

-- 

Best Regards,
Peter Chen

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html