]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/pcmcia/Kconfig
[SCSI] fix pcmcia compile problem
[linux-2.6-omap-h63xx.git] / drivers / scsi / pcmcia / Kconfig
index 7dd787f6ab273a315f69ae84f50d992fc879ec37..53857c6b6d4d3841aa08cc40ba8a361691cdf476 100644 (file)
@@ -2,9 +2,13 @@
 # PCMCIA SCSI adapter configuration
 #
 
-menu "PCMCIA SCSI adapter support"
+menuconfig SCSI_LOWLEVEL_PCMCIA
+       bool "PCMCIA SCSI adapter support"
        depends on SCSI!=n && PCMCIA!=n
 
+# drivers have problems when build in, so require modules
+if SCSI_LOWLEVEL_PCMCIA && SCSI && PCMCIA && m
+
 config PCMCIA_AHA152X
        tristate "Adaptec AHA152X PCMCIA support"
        depends on !64BIT
@@ -77,4 +81,4 @@ config PCMCIA_SYM53C500
          To compile this driver as a module, choose M here: the
          module will be called sym53c500_cs.
 
-endmenu
+endif # SCSI_LOWLEVEL_PCMCIA