lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6] USB_GADGET depends on USB
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/
--- 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.
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.040 / U:2.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site