hisi_sas: Restrict SCSI_HISI_SAS to arm64
authorGeert Uytterhoeven <[email protected]>
Fri, 15 Jan 2016 13:39:09 +0000 (14:39 +0100)
committerMartin K. Petersen <[email protected]>
Thu, 21 Jan 2016 00:51:04 +0000 (19:51 -0500)
The HiSilicon SAS HBA is available in HiSilicon arm64 SoCs only.
Restrict it to arm64, unless compile-testing.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/hisi_sas/Kconfig

index 2c05021636a5fea6c2879d01763e8852396788c8..b67661836c9fa26fccd1e23a82508c1d567a5916 100644 (file)
@@ -1,6 +1,7 @@
 config SCSI_HISI_SAS
        tristate "HiSilicon SAS"
        depends on HAS_DMA
+       depends on ARM64 || COMPILE_TEST
        select SCSI_SAS_LIBSAS
        select BLK_DEV_INTEGRITY
        help