hisi_sas: add dependency for HAS_IOMEM

Not every arch has io, so fix build by adding necessary dependency.

Signed-off-by: John Garry <[email protected]>
Suggested-by: Richard Weinberger <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
John Garry 2016-01-26 19:59:12 +08:00 • committed by Martin K. Petersen
commit 0f92db53c1

View file

@ -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