Skip to content

Commit 9890923

Browse files
geertuwsakernel
authored andcommitted
i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM
The Mellanox BlueField I2C controller is only present on Mellanox BlueField SoCs. Hence add a dependency on MELLANOX_PLATFORM, to prevent asking the user about this driver when configuring a kernel without Mellanox platform support. Fixes: b5b5b32 ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 54b9c3d commit 9890923

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ config I2C_LPC2K
733733

734734
config I2C_MLXBF
735735
tristate "Mellanox BlueField I2C controller"
736-
depends on ARM64
736+
depends on MELLANOX_PLATFORM && ARM64
737737
help
738738
Enabling this option will add I2C SMBus support for Mellanox BlueField
739739
system.

0 commit comments

Comments
 (0)