2019-03-27 14:16:55

by Shravan Kumar Ramani

[permalink] [raw]
Subject: [PATCH v1] gpio: gpio-mlxbf: Add dependency on 64BIT to Kconfig entry

Fixes a compile test failure

Signed-off-by: Shravan Kumar Ramani <[email protected]>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 0d9ddff..530ee34 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1318,7 +1318,7 @@ config GPIO_MERRIFIELD

config GPIO_MLXBF
tristate "Mellanox BlueField SoC GPIO"
- depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || COMPILE_TEST
+ depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST)
select GPIO_GENERIC
help
Say Y here if you want GPIO support on Mellanox BlueField SoC.
--
2.1.2



2019-03-27 16:00:06

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH v1] gpio: gpio-mlxbf: Add dependency on 64BIT to Kconfig entry

śr., 27 mar 2019 o 15:15 Shravan Kumar Ramani <[email protected]> napisał(a):
>
> Fixes a compile test failure
>
> Signed-off-by: Shravan Kumar Ramani <[email protected]>
> ---
> drivers/gpio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 0d9ddff..530ee34 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -1318,7 +1318,7 @@ config GPIO_MERRIFIELD
>
> config GPIO_MLXBF
> tristate "Mellanox BlueField SoC GPIO"
> - depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || COMPILE_TEST
> + depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST)
> select GPIO_GENERIC
> help
> Say Y here if you want GPIO support on Mellanox BlueField SoC.
> --
> 2.1.2
>

Applied, thanks!

Bart