diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2007-07-28 11:07:36 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-31 11:40:48 -0400 |
commit | 15617ff66c777b008e170f9c5b0e8a9854937648 (patch) | |
tree | 6de4a5212ee27edb663853407f252b94f3b0550f | |
parent | 8e9a8a0d56c5d9d87adbefbbc8c8728c529fd95a (diff) |
[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>
-rw-r--r-- | drivers/scsi/libsas/Kconfig | 3 |
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 | |||
32 | 32 | ||
33 | config SCSI_SAS_ATA | 33 | config SCSI_SAS_ATA |
34 | bool "ATA support for libsas (requires libata)" | 34 | bool "ATA support for libsas (requires libata)" |
35 | depends on SCSI_SAS_LIBSAS && ATA | 35 | depends on SCSI_SAS_LIBSAS |
36 | depends on ATA = y || ATA = SCSI_SAS_LIBSAS | ||
36 | help | 37 | help |
37 | Builds in ATA support into libsas. Will necessitate | 38 | Builds in ATA support into libsas. Will necessitate |
38 | the loading of libata along with libsas. | 39 | the loading of libata along with libsas. |