Skip to content

Commit 0538590

Browse files
Andi ShytiAndi Shyti
authored andcommitted
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: Andi 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
1 parent 66e64b4 commit 0538590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ config I2C_LS2X
856856

857857
config I2C_MLXBF
858858
tristate "Mellanox BlueField I2C controller"
859-
depends on MELLANOX_PLATFORM && ARM64
859+
depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST
860860
depends on ACPI
861861
select I2C_SLAVE
862862
help

0 commit comments

Comments
 (0)