Просмотр исходного кода

hisi_sas: Restrict SCSI_HISI_SAS to arm64

The HiSilicon SAS HBA is available in HiSilicon arm64 SoCs only.
Restrict it to arm64, unless compile-testing.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Geert Uytterhoeven 10 лет назад
Родитель
Сommit
c142ce0d3c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      drivers/scsi/hisi_sas/Kconfig

+ 1 - 0
drivers/scsi/hisi_sas/Kconfig

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