]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: allow to enable legacy drivers without USB_ETH
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 31 Oct 2017 18:03:19 +0000 (11:03 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 28 Nov 2017 11:05:07 +0000 (13:05 +0200)
commite789ad6d2ace243bdd34f0d6bcec01f35e624ccb
treeffab7682f76579686f485a239ad52543e10a9673
parent67bb6512912655c1a9d79484ce5e091b7c4f74a0
usb: gadget: allow to enable legacy drivers without USB_ETH

Considerable time ago the legacy gadget menu was added inside the
USB_ETH choice. I think this was a mistake and that the legacy
gadget menu should have been added after "endchoice" instead of
before. Hence this patch.

Fixes: commit 118fbc31f5dd ("usb: gadget: Gadget directory cleanup - group legacy gadgets")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/legacy/Kconfig