diff options
author | Andi Shyti <andi.shyti@kernel.org> | 2025-05-05 23:58:54 +0200 |
---|---|---|
committer | Andi Shyti <andi@smida.it> | 2025-05-23 10:02:27 +0200 |
commit | 053859002c20f6b8475343fdf04a0eaca34bb3f4 (patch) | |
tree | 829a16a67f8b231930d3165ccbf36a126360de41 | |
parent | 66e64b457c238cc8f43870b3ff137b7d660fdb81 (diff) |
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
-rw-r--r-- | drivers/i2c/busses/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 827b3dc3aa81..3be623735ca8 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 |