]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/md/Kconfig
[SCSI] scsi_dh: fix kconfig related build errors
[linux-2.6-omap-h63xx.git] / drivers / md / Kconfig
index b4a3c7d1451d44b92ea306a6a3c220ae29ff6ce4..07d92c11b5d8d935887f0b8361626faaf1abfd46 100644 (file)
@@ -252,7 +252,11 @@ config DM_ZERO
 config DM_MULTIPATH
        tristate "Multipath target"
        depends on BLK_DEV_DM
-       select SCSI_DH
+       # nasty syntax but means make DM_MULTIPATH independent
+       # of SCSI_DH if the latter isn't defined but if
+       # it is, DM_MULTIPATH must depend on it.  We get a build
+       # error if SCSI_DH=m and DM_MULTIPATH=y
+       depends on SCSI_DH || !SCSI_DH
        ---help---
          Allow volume managers to support multipath hardware.