public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dwc3: Only build debugfs when DWC3_GADGET/DUAL_ROLE is enabled
@ 2013-08-05 22:08 Andi Kleen
  2013-08-09 13:17 ` Felipe Balbi
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2013-08-05 22:08 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel, Andi Kleen, balbi

From: Andi Kleen <ak@linux.intel.com>

Fix (randconfig) build problem with DEBUG_FS on

Cc: balbi@ti.com
Cc: linux-usb@vger.kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 drivers/usb/dwc3/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile
index 0c7ac92..2c7b55f 100644
--- a/drivers/usb/dwc3/Makefile
+++ b/drivers/usb/dwc3/Makefile
@@ -13,8 +13,8 @@ ifneq ($(filter y,$(CONFIG_USB_DWC3_GADGET) $(CONFIG_USB_DWC3_DUAL_ROLE)),)
 	dwc3-y				+= gadget.o ep0.o
 endif
 
-ifneq ($(CONFIG_DEBUG_FS),)
-	dwc3-y				+= debugfs.o
+ifneq ($(filter y,$(CONFIG_USB_DWC3_GADGET) $(CONFIG_USB_DWC3_DUAL_ROLE)),)
+	dwc3-$(CONFIG_DEBUG_FS)		+= debugfs.o
 endif
 
 ##
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-09 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 22:08 [PATCH] dwc3: Only build debugfs when DWC3_GADGET/DUAL_ROLE is enabled Andi Kleen
2013-08-09 13:17 ` Felipe Balbi
2013-08-09 15:29   ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox