e5cac57d72326aaf131618657de659117221478f
[openwrt/svn-archive/archive.git] / target / linux / imx6 / patches-3.10 / 0003-usb-chipidea-enable-to-build-host-support-as-module.patch
1 From f51ac206b1ca27d240fe7fde6975496d558f51df Mon Sep 17 00:00:00 2001
2 From: Luka Perkov <luka@openwrt.org>
3 Date: Sun, 4 Aug 2013 03:10:59 +0200
4 Subject: [PATCH] usb: chipidea: enable to build host support as module
5
6 USB_CHIPIDEA_HOST does not need to depend on USB=y, USB_CHIPIDEA_HOST will work
7 just fine even if USB=m is used. The depends line can be safely removed since
8 USB_CHIPIDEA already depends on USB.
9
10 Tested on Gateworks imx6q Ventana board (gw-5400-a) and imx6dl Wandboard Dual
11 (imx6dl-wandboard).
12
13 Signed-off-by: Luka Perkov <luka@openwrt.org>
14 ---
15 drivers/usb/chipidea/Kconfig | 1 -
16 1 file changed, 1 deletion(-)
17
18 --- a/drivers/usb/chipidea/Kconfig
19 +++ b/drivers/usb/chipidea/Kconfig
20 @@ -19,7 +19,6 @@ config USB_CHIPIDEA_UDC
21
22 config USB_CHIPIDEA_HOST
23 bool "ChipIdea host controller"
24 - depends on USB=y
25 depends on USB_EHCI_HCD=y || (USB_CHIPIDEA=m && USB_EHCI_HCD=m)
26 select USB_EHCI_ROOT_HUB_TT
27 help