summaryrefslogtreecommitdiffstats
path: root/drivers/usb/isp1760/Makefile
diff options
context:
space:
mode:
authorLaurent Pinchart2015-01-20 23:56:03 +0100
committerFelipe Balbi2015-01-27 16:39:42 +0100
commit100832abf065bc186ae48165c16546784b90a4be (patch)
tree2c61406ba75310395682841280323d2b0256dee0 /drivers/usb/isp1760/Makefile
parentusb: isp1760: Move driver from drivers/usb/host/ to drivers/usb/isp1760/ (diff)
downloadkernel-qcow2-linux-100832abf065bc186ae48165c16546784b90a4be.tar.gz
kernel-qcow2-linux-100832abf065bc186ae48165c16546784b90a4be.tar.xz
kernel-qcow2-linux-100832abf065bc186ae48165c16546784b90a4be.zip
usb: isp1760: Make HCD support optional
Enable compilation of the isp1760 driver in pure host mode, pure device mode, or dual-role mode. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/isp1760/Makefile')
-rw-r--r--drivers/usb/isp1760/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/isp1760/Makefile b/drivers/usb/isp1760/Makefile
index 698ccb0b2c65..2b741074ad2b 100644
--- a/drivers/usb/isp1760/Makefile
+++ b/drivers/usb/isp1760/Makefile
@@ -1,4 +1,5 @@
-isp1760-y := isp1760-core.o isp1760-hcd.o isp1760-if.o
+isp1760-y := isp1760-core.o isp1760-if.o
+isp1760-$(CONFIG_USB_ISP1760_HCD) += isp1760-hcd.o
isp1760-$(CONFIG_USB_ISP1761_UDC) += isp1760-udc.o
obj-$(CONFIG_USB_ISP1760) += isp1760.o