cns3xxx: fix dwc_otg driver compat with udc-core
[openwrt.git] / target / linux / cns3xxx / patches-3.3 / 200-dwc_otg_support.patch
index ce15f7c..361c08a 100644 (file)
        help
           A USB device uses a controller to talk to its host.
           Systems should have only one such upstream link.
---- a/drivers/usb/gadget/Makefile
-+++ b/drivers/usb/gadget/Makefile
-@@ -3,7 +3,7 @@
- #
- ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
--obj-$(CONFIG_USB_GADGET)      += udc-core.o
-+#obj-$(CONFIG_USB_GADGET)     += udc-core.o
- obj-$(CONFIG_USB_DUMMY_HCD)   += dummy_hcd.o
- obj-$(CONFIG_USB_NET2272)     += net2272.o
- obj-$(CONFIG_USB_NET2280)     += net2280.o