summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hisi_sas
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2016-01-26 12:59:12 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-27 03:17:59 +0100
commit0f92db53c10ab608874eea8bbe59491cea2f9a46 (patch)
tree50c019ea818d51f1e3f0e8c8c7de03406fcf90ec /drivers/scsi/hisi_sas
parentsd: Optimal I/O size is in bytes, not sectors (diff)
downloadlinux-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/hisi_sas')
-rw-r--r--drivers/scsi/hisi_sas/Kconfig2
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