usb: fix dwc3 build when USB_GADGET_DWC3 is not enabled
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 23 Aug 2011 19:52:47 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 24 Aug 2011 22:06:53 +0000 (15:06 -0700)
commit096cb25d624289a054c9e4d0537c26c0a5eff487
treeae60e64693511d517cfcc3c614e95a3ac1667d1e
parent29cc88979a8818cd8c5019426e945aed118b400e
usb: fix dwc3 build when USB_GADGET_DWC3 is not enabled

Fix build error when CONFIG_USB_GADGET_DWC3 is not enabled:

ERROR: "dwc3_send_gadget_ep_cmd" [drivers/usb/dwc3/dwc3.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/gadget.h