gpio: mlxbf: Add dependency on 64BIT to Kconfig entry
authorShravan Kumar Ramani <sramani@mellanox.com>
Wed, 27 Mar 2019 14:15:15 +0000 (10:15 -0400)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 27 Mar 2019 15:57:32 +0000 (16:57 +0100)
Fixes a compile test failure

Fixes: c78c42d77165 ("gpio: add driver for Mellanox BlueField GPIO controller")
Signed-off-by: Shravan Kumar Ramani <sramani@mellanox.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/Kconfig

index 362da433593ca859dbd2f5ad761aeb4b9d3453d8..c7a174edeaa3972257d92150804cd17f7dc5a471 100644 (file)
@@ -1304,7 +1304,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.