forked from Minki/linux
bc25a80d12
Since chipidea is a dual role controller, it makes sense to move it to its own directory, where we can also have host, otg and platform code related to this controller. It also makes sense to break out the driver into several compilation units like udc, host, debugging code, etc. Firstly, let's move the udc and platform code to drivers/usb/chipidea. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 lines
227 B
Makefile
12 lines
227 B
Makefile
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
ci_hdrc-y := ci13xxx_udc.o
|
|
|
|
ifneq ($(CONFIG_PCI),)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_ARCH_MSM),)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o
|
|
endif
|