diff options
author | John Garry <john.garry@huawei.com> | 2016-01-26 06:59:12 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-26 21:17:59 -0500 |
commit | 0f92db53c10ab608874eea8bbe59491cea2f9a46 (patch) | |
tree | 50c019ea818d51f1e3f0e8c8c7de03406fcf90ec | |
parent | d0eb20a863ba7dc1d3f4b841639671f134560be2 (diff) |
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>
-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 @@ | |||
1 | config SCSI_HISI_SAS | 1 | config SCSI_HISI_SAS |
2 | tristate "HiSilicon SAS" | 2 | tristate "HiSilicon SAS" |
3 | depends on HAS_DMA | 3 | depends on HAS_DMA && HAS_IOMEM |
4 | depends on ARM64 || COMPILE_TEST | 4 | depends on ARM64 || COMPILE_TEST |
5 | select SCSI_SAS_LIBSAS | 5 | select SCSI_SAS_LIBSAS |
6 | select BLK_DEV_INTEGRITY | 6 | select BLK_DEV_INTEGRITY |