Commit 05385900 authored by Andi Shyti's avatar Andi Shyti Committed by Andi Shyti
Browse files

i2c: mlxbf: Allow build with COMPILE_TEST



Extend the Kconfig dependency to include COMPILE_TEST so the
Mellanox BlueField I2C driver can be built on non-ARM64 platforms
for compile testing purposes.

Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Cc: Khalil Blaiech <kblaiech@nvidia.com>
Cc: Asmaa Mnebhi <asmaa@nvidia.com>
Link: https://lore.kernel.org/r/20250505215854.2896383-1-andi.shyti@kernel.org
parent 66e64b45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -856,7 +856,7 @@ config I2C_LS2X

config I2C_MLXBF
        tristate "Mellanox BlueField I2C controller"
        depends on MELLANOX_PLATFORM && ARM64
        depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST
	depends on ACPI
	select I2C_SLAVE
        help