[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1483536181-22356-2-git-send-email-mnarani@xilinx.com>
Date: Wed, 4 Jan 2017 18:52:56 +0530
From: Manish Narani <manish.narani@...inx.com>
To: <robh+dt@...nel.org>, <mark.rutland@....com>,
<catalin.marinas@....com>, <will.deacon@....com>,
<michal.simek@...inx.com>, <soren.brinkmann@...inx.com>,
<balbi@...nel.org>, <gregkh@...uxfoundation.org>,
<mathias.nyman@...el.com>, <agraf@...e.de>, <bharatku@...inx.com>,
<punnaiah.choudary.kalluri@...inx.com>, <dhdang@....com>,
<marc.zyngier@....com>, <mnarani@...inx.com>,
<devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>
CC: <anirudh@...inx.com>, <anuragku@...inx.com>
Subject: [RFC PATCH] usb: dwc3: add support for OTG driver compilation
This patch adds support for OTG driver compilation and object
file creation
Signed-off-by: Manish Narani <mnarani@...inx.com>
---
drivers/usb/dwc3/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile
index ffca340..2d269ad 100644
--- a/drivers/usb/dwc3/Makefile
+++ b/drivers/usb/dwc3/Makefile
@@ -17,6 +17,10 @@ ifneq ($(filter y,$(CONFIG_USB_DWC3_GADGET) $(CONFIG_USB_DWC3_DUAL_ROLE)),)
dwc3-y += gadget.o ep0.o
endif
+ifneq ($(CONFIG_USB_DWC3_DUAL_ROLE),)
+ dwc3-y += otg.o
+endif
+
ifneq ($(CONFIG_USB_DWC3_ULPI),)
dwc3-y += ulpi.o
endif
--
2.1.1
Powered by blists - more mailing lists