summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2016-01-26 14:59:12 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-27 05:17:59 +0300
commit0f92db53c10ab608874eea8bbe59491cea2f9a46 (patch)
tree50c019ea818d51f1e3f0e8c8c7de03406fcf90ec /drivers
parentd0eb20a863ba7dc1d3f4b841639671f134560be2 (diff)
downloadlinux-0f92db53c10ab608874eea8bbe59491cea2f9a46.tar.xz
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')
-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