]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "usb: gadget: allow to enable legacy drivers without USB_ETH"
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 12 Dec 2017 10:44:40 +0000 (12:44 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 12 Dec 2017 10:48:30 +0000 (12:48 +0200)
commit9d6d8cc1f0c619c94137b581c2113f2aa66d96e4
tree7cffac986c159a5ba91cb36343da5c1eec06aaf1
parentf4c6bb86a0616297a570e998866f82fc6033043f
Revert "usb: gadget: allow to enable legacy drivers without USB_ETH"

This reverts commit e789ad6d2ace243bdd34f0d6bcec01f35e624ccb.

Romain Izard recently reported that commit e789ad6d2ace ended up
allowing every legacy gadget driver to statically linked to the
kernel, however that doesn't work, since only one legacy gadget can be
bound to a controller. Because of that, let's revert the original commit
and fix the problem.

Reported-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/legacy/Kconfig