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

From: Shravan Kumar Ramani
Date: Wed Mar 27 2019 - 10:15:45 EST


Fixes a compile test failure

Signed-off-by: Shravan Kumar Ramani <sramani@xxxxxxxxxxxx>
---
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