]> Pileus Git - ~andy/linux/commitdiff
[SCSI] libsas: fix build dependencies on libata
authorJames Bottomley <James.Bottomley@steeleye.com>
Sat, 28 Jul 2007 15:07:36 +0000 (11:07 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 31 Jul 2007 15:40:48 +0000 (10:40 -0500)
If you have the libsas with ATA support, it needs libata to function.
The problem is that if you compile in libsas, you can't build libata
as a module (however, vice versa you can).

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/Kconfig

index 3a3c1ac9c6cdcd495d477e7219d4eddc0f51bbc8..c01a40d321d43530b02e814b3cd335d7f0b54797 100644 (file)
@@ -32,7 +32,8 @@ config SCSI_SAS_LIBSAS
 
 config SCSI_SAS_ATA
        bool "ATA support for libsas (requires libata)"
-       depends on SCSI_SAS_LIBSAS && ATA
+       depends on SCSI_SAS_LIBSAS
+       depends on ATA = y || ATA = SCSI_SAS_LIBSAS
        help
                Builds in ATA support into libsas.  Will necessitate
                the loading of libata along with libsas.