[2.6 patch] let "PCMCIA SCSI adapter support" menu depend on MODULES

From: Adrian Bunk
Date: Wed Sep 03 2003 - 18:25:05 EST


When configuring a kernel without modules support "PCMCIA SCSI adapter
support" is a menu with no available items in it (all drivers depend on
"m").

The patch below only shows this menu when MODULES is enabled.

Please apply
Adrian

--- linux-2.6.0-test4-mm5/drivers/scsi/pcmcia/Kconfig.old 2003-09-04 01:18:17.000000000 +0200
+++ linux-2.6.0-test4-mm5/drivers/scsi/pcmcia/Kconfig 2003-09-04 01:19:03.000000000 +0200
@@ -3,7 +3,7 @@
#

menu "PCMCIA SCSI adapter support"
- depends on SCSI!=n && PCMCIA!=n
+ depends on SCSI!=n && PCMCIA!=n && MODULES

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