ChangeSet 1.796, 2002/12/05 14:22:24-08:00, marcel@holtmann.org [PATCH] Disable bluetooth.o if Bluetooth subsystem is used This patch disables the USB Bluetooth driver (bluetooth.o) from the drivers/usb/ directory if the Linux Bluetooth subsystem is selected. diff -Nru a/drivers/usb/Config.in b/drivers/usb/Config.in --- a/drivers/usb/Config.in Thu Dec 5 14:48:17 2002 +++ b/drivers/usb/Config.in Thu Dec 5 14:48:17 2002 @@ -32,7 +32,13 @@ comment 'USB Device Class drivers' dep_tristate ' USB Audio support' CONFIG_USB_AUDIO $CONFIG_USB $CONFIG_SOUND dep_tristate ' EMI 2|6 USB Audio interface support' CONFIG_USB_EMI26 $CONFIG_USB_AUDIO - dep_tristate ' USB Bluetooth support (EXPERIMENTAL)' CONFIG_USB_BLUETOOTH $CONFIG_USB $CONFIG_EXPERIMENTAL + if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then + if [ "$CONFIG_BLUEZ" = "n" ]; then + dep_tristate ' USB Bluetooth support (EXPERIMENTAL)' CONFIG_USB_BLUETOOTH $CONFIG_USB + else + comment ' USB Bluetooth can only be used with disabled Bluetooth subsystem' + fi + fi dep_tristate ' USB MIDI support' CONFIG_USB_MIDI $CONFIG_USB if [ "$CONFIG_SCSI" = "n" ]; then comment ' SCSI support is needed for USB Storage'