On 25/01/2016 22:24, Richard Weinberger wrote:
Not every arch has io or DMA memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <[email protected]>
---
  drivers/scsi/hisi_sas/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
index 37a0c71..f9157f4 100644
--- a/drivers/scsi/hisi_sas/Kconfig
+++ b/drivers/scsi/hisi_sas/Kconfig
@@ -2,5 +2,6 @@ config SCSI_HISI_SAS
        tristate "HiSilicon SAS"
        select SCSI_SAS_LIBSAS
        select BLK_DEV_INTEGRITY
+       depends on HAS_IOMEM && HAS_DMA
        help
                This driver supports HiSilicon's SAS HBA


I think that there is already a fix for depencencies from Geert:
http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/log/?h=fixes

Cheers,
John

Reply via email to