power: reset: corrections for simple syscon reboot driver
[linux-2.6/btrfs-unstable.git] / drivers / usb / dwc2 / Makefile
blobb73d2a527970e8a2a42150b7616f198d9d724040
1 ccflags-$(CONFIG_USB_DWC2_DEBUG) += -DDEBUG
2 ccflags-$(CONFIG_USB_DWC2_VERBOSE) += -DVERBOSE_DEBUG
4 obj-$(CONFIG_USB_DWC2_HOST) += dwc2.o
5 dwc2-y := core.o core_intr.o
6 dwc2-y += hcd.o hcd_intr.o
7 dwc2-y += hcd_queue.o hcd_ddma.o
9 # NOTE: The previous s3c-hsotg peripheral mode only driver has been moved to
10 # this location and renamed gadget.c. When building for dynamically linked
11 # modules, dwc2_gadget.ko will get built for peripheral mode. For host mode,
12 # the core module will be dwc2.ko, the PCI bus interface module will called
13 # dwc2_pci.ko and the platform interface module will be called dwc2_platform.ko.
14 # At present the host and gadget driver will be separate drivers, but there
15 # are plans in the near future to create a dual-role driver.
17 ifneq ($(CONFIG_USB_DWC2_PCI),)
18 obj-$(CONFIG_USB_DWC2_HOST) += dwc2_pci.o
19 dwc2_pci-y := pci.o
20 endif
22 ifneq ($(CONFIG_USB_DWC2_PLATFORM),)
23 obj-$(CONFIG_USB_DWC2_HOST) += dwc2_platform.o
24 dwc2_platform-y := platform.o
25 endif
27 obj-$(CONFIG_USB_DWC2_PERIPHERAL) += dwc2_gadget.o
28 dwc2_gadget-y := gadget.o