Re: [PATCH] usb/dwc3: Fix the dwc3 dependency

From: Sergei Shtylyov
Date: Fri May 11 2012 - 07:21:39 EST


Hello.

On 11-05-2012 9:55, joseph daniel wrote:

The warning shown up when ran with randconfig,

warning: (USB_DWC3) selects USB_XHCI_PLATFORM which has unmet direct dependencies (USB_SUPPORT&& USB_XHCI_HCD)

Signed-off-by: joseph daniel<josephdanielwalter@xxxxxxxxx>
---
drivers/usb/dwc3/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index d8f741f..68271fa 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -1,6 +1,6 @@
config USB_DWC3
tristate "DesignWare USB3 DRD Core Support"
- depends on (USB&& USB_GADGET)
+ depends on (USB&& USB_SUPPORT&& USB_XCHI_HCD&& USB_GADGET)

Parens not needed -- could as well get rid of them.

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/