diff options
Diffstat (limited to 'drivers/usb/dwc3/Makefile')
-rw-r--r-- | drivers/usb/dwc3/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile index 0926e71142b9..900ae74357f1 100644 --- a/drivers/usb/dwc3/Makefile +++ b/drivers/usb/dwc3/Makefile | |||
@@ -5,11 +5,7 @@ obj-$(CONFIG_USB_DWC3) += dwc3.o | |||
5 | 5 | ||
6 | dwc3-y := core.o | 6 | dwc3-y := core.o |
7 | dwc3-y += host.o | 7 | dwc3-y += host.o |
8 | 8 | dwc3-y += gadget.o ep0.o | |
9 | ifneq ($(CONFIG_USB_GADGET_DWC3),) | ||
10 | dwc3-y += gadget.o ep0.o | ||
11 | endif | ||
12 | |||
13 | 9 | ||
14 | ifneq ($(CONFIG_DEBUG_FS),) | 10 | ifneq ($(CONFIG_DEBUG_FS),) |
15 | dwc3-y += debugfs.o | 11 | dwc3-y += debugfs.o |