mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] fix the USB_GADGET_DUMMY_HCD dependencies
@ 2006-07-30 23:43 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-07-30 23:43 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb-devel, linux-kernel, Toralf Förster

If USB=m, USB_GADGET=y, the option USB_GADGET_DUMMY_HCD mustn't be 
offered since selecting it results in a compile error.

This patch fixes kernel Bugzilla #6534 reported by Toralf Förster.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.18-rc2-mm1-full/drivers/usb/gadget/Kconfig.old	2006-07-29 03:58:25.000000000 +0200
+++ linux-2.6.18-rc2-mm1-full/drivers/usb/gadget/Kconfig	2006-07-29 03:59:15.000000000 +0200
@@ -207,7 +207,7 @@
 
 config USB_GADGET_DUMMY_HCD
 	boolean "Dummy HCD (DEVELOPMENT)"
-	depends on USB && EXPERIMENTAL
+	depends on (USB=y || (USB=m && USB_GADGET=m)) && EXPERIMENTAL
 	select USB_GADGET_DUALSPEED
 	help
 	  This host controller driver emulates USB, looping all data transfer


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-30 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-30 23:43 [2.6 patch] fix the USB_GADGET_DUMMY_HCD dependencies Adrian Bunk

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

all inboxes | Powered by JetHome®