usb: dwc3: fix Kconfig dependency to accept host driver in drivers/usb/dwc3
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 24 Aug 2017 16:30:20 +0000 (01:30 +0900)
committerMarek Vasut <marex@denx.de>
Mon, 28 Aug 2017 20:32:34 +0000 (22:32 +0200)
commit6ea247d1376138026fcb4b9d869ed0956e7c0f59
treef825cb7655c665a23f1ba906b1998e403fb26465
parent8b3cec7da18645eda7f7cd0b65ee9f2dac573409
usb: dwc3: fix Kconfig dependency to accept host driver in drivers/usb/dwc3

We see the choice of USB_DWC3_HOST / _GADGET in drivers/usb/dwc3/Kconfig,
but we can not choose USB_DWC3_HOST unless USB_GADGET is defined.
This is strange.

Loosen the "depends on" and also move "select USB_GADGET_DUALSPEED" to
the correct place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/usb/dwc3/Kconfig