diff options
author | John Garry <john.garry@huawei.com> | 2016-01-26 12:59:12 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-27 03:17:59 +0100 |
commit | 0f92db53c10ab608874eea8bbe59491cea2f9a46 (patch) | |
tree | 50c019ea818d51f1e3f0e8c8c7de03406fcf90ec /drivers/scsi | |
parent | sd: Optimal I/O size is in bytes, not sectors (diff) | |
download | linux-0f92db53c10ab608874eea8bbe59491cea2f9a46.tar.xz linux-0f92db53c10ab608874eea8bbe59491cea2f9a46.zip |
hisi_sas: add dependency for HAS_IOMEM
Not every arch has io, so fix build by adding necessary dependency.
Signed-off-by: John Garry <john.garry@huawei.com>
Suggested-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/hisi_sas/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig index b67661836c9f..d1dd1616f983 100644 --- a/drivers/scsi/hisi_sas/Kconfig +++ b/drivers/scsi/hisi_sas/Kconfig @@ -1,6 +1,6 @@ config SCSI_HISI_SAS tristate "HiSilicon SAS" - depends on HAS_DMA + depends on HAS_DMA && HAS_IOMEM depends on ARM64 || COMPILE_TEST select SCSI_SAS_LIBSAS select BLK_DEV_INTEGRITY |