diff mbox

[2/2] hisi_sas: Restrict SCSI_HISI_SAS to arm64

Message ID 1452865149-32064-2-git-send-email-geert@linux-m68k.org (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Geert Uytterhoeven Jan. 15, 2016, 1:39 p.m. UTC
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>
---
 drivers/scsi/hisi_sas/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

John Garry Jan. 19, 2016, 9:56 a.m. UTC | #1
On 15/01/2016 13:39, Geert Uytterhoeven wrote:
> 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>
> ---
>   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 2c05021636a5fea6..b67661836c9fa26f 100644
> --- a/drivers/scsi/hisi_sas/Kconfig
> +++ b/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
>

Reviewed-by: John Garry <john.garry@huawei.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Martin K. Petersen Jan. 20, 2016, 12:25 a.m. UTC | #2
>>>>> "Geert" == Geert Uytterhoeven <geert@linux-m68k.org> writes:

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

Applied to 4.5/scsi-fixes.
diff mbox

Patch

diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig
index 2c05021636a5fea6..b67661836c9fa26f 100644
--- a/drivers/scsi/hisi_sas/Kconfig
+++ b/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