diff options
author | Romain Izard <romain.izard.pro@gmail.com> | 2017-03-10 16:11:41 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-04-11 10:58:19 +0300 |
commit | 6e253d0fbc665b36192b8ed3cecdbb65b413a1eb (patch) | |
tree | ae3df522511d2e47eaf5cc0f892961f44f216ba2 /drivers/usb/dwc3/trace.h | |
parent | af771d731b8e31e6c5aced2b1b066edd16106a6f (diff) | |
download | linux-6e253d0fbc665b36192b8ed3cecdbb65b413a1eb.tar.xz |
usb: gadget: legacy gadgets are optional
With commit bc49d1d17dcf ("usb: gadget: don't couple configfs to legacy
gadgets"),it is possible to build a modular kernel with both built-in
configfs support and modular legacy gadget drivers.
But when building a kernel without modules, it is also necessary to be
able to build with configfs but without any legacy gadget driver. This
was a possible configuration when the USB_CONFIGFS was a part of the
choice options, but not anymore.
Mark the choice for legacy gadget drivers as optional restores this.
Fixes: bc49d1d17dcf ("usb: gadget: don't couple configfs to legacy gadgets")
Cc: <stable@vger.kernel.org> # 4.9+
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/trace.h')
0 files changed, 0 insertions, 0 deletions