[2.5 patch] let USB_GADGET depend on USB

Adrian Bunk (bunk@fs.tum.de)
Sun, 1 Jun 2003 00:18:55 +0200


USB_GADGET is still selectable even with USB disabled. It seems the
following is intended:

--- linux-2.5.70-mm3/drivers/usb/gadget/Kconfig.old 2003-06-01 00:15:30.000000000 +0200
+++ linux-2.5.70-mm3/drivers/usb/gadget/Kconfig 2003-06-01 00:15:49.000000000 +0200
@@ -8,7 +8,7 @@
#
menuconfig USB_GADGET
tristate "Support for USB Gadgets"
- depends on EXPERIMENTAL
+ depends on USB && EXPERIMENTAL
help
USB is a master/slave protocol, organized with one master
host (such as a PC) controlling up to 127 peripheral devices.

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/