mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6] USB_GADGET depends on USB
@ 2004-03-03 13:57 Jakub Bogusz
  2004-03-03 15:27 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Bogusz @ 2004-03-03 13:57 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

Up to current cset it's possible to select USB_GADGET even if USB is
disabled (causing only compilation errors). This patch adds depends
rules to disallow USB_GADGET if USB is not enabled (similar to those
found in other drivers/usb/*/Kconfig files).


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
PLD Team        http://www.pld-linux.org/

[-- Attachment #2: linux-usb-gadget-requires-usb.patch --]
[-- Type: text/plain, Size: 485 bytes --]

--- linux-2.6.4-rc1/drivers/usb/gadget/Kconfig.orig	2004-02-27 22:21:00.000000000 +0000
+++ linux-2.6.4-rc1/drivers/usb/gadget/Kconfig	2004-03-03 13:50:01.000000000 +0000
@@ -4,9 +4,11 @@
 #    (b) the gadget driver using it.
 #
 menu "USB Gadget Support"
+	depends on USB
 
 config USB_GADGET
 	tristate "Support for USB Gadgets"
+	depends on USB
 	help
 	   USB is a master/slave protocol, organized with one master
 	   host (such as a PC) controlling up to 127 peripheral devices.

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

end of thread, other threads:[~2004-03-03 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-03 13:57 [PATCH 2.6] USB_GADGET depends on USB Jakub Bogusz
2004-03-03 15:27 ` Greg KH
2004-03-03 15:45   ` Jakub Bogusz
2004-03-03 17:19     ` Greg KH

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®