summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2007-07-28 17:07:36 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-31 17:40:48 +0200
commit15617ff66c777b008e170f9c5b0e8a9854937648 (patch)
tree6de4a5212ee27edb663853407f252b94f3b0550f /drivers/scsi
parent[SCSI] gdth: remove redundant PCI stuff (diff)
downloadlinux-15617ff66c777b008e170f9c5b0e8a9854937648.tar.xz
linux-15617ff66c777b008e170f9c5b0e8a9854937648.zip
[SCSI] libsas: fix build dependencies on libata
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libsas/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/Kconfig b/drivers/scsi/libsas/Kconfig
index 3a3c1ac9c6cd..c01a40d321d4 100644
--- a/drivers/scsi/libsas/Kconfig
+++ b/drivers/scsi/libsas/Kconfig
@@ -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.