From: Andi Shyti Date: Mon, 5 May 2025 21:58:54 +0000 (+0200) Subject: i2c: mlxbf: Allow build with COMPILE_TEST X-Git-Tag: v6.16-rc1~112^2~1^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=053859002c20f6b8475343fdf04a0eaca34bb3f4;p=thirdparty%2Flinux.git 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 Cc: Khalil Blaiech Cc: Asmaa Mnebhi Link: https://lore.kernel.org/r/20250505215854.2896383-1-andi.shyti@kernel.org --- diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 827b3dc3aa814..3be623735ca8a 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -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