Skip to content

Commit

Permalink
[SCSI] libsas: fix build dependencies on libata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Bottomley authored and James Bottomley committed Jul 31, 2007
1 parent 8e9a8a0 commit 15617ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/scsi/libsas/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 15617ff

Please sign in to comment.