Commit 9890923b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Wolfram Sang

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: b5b5b320 ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 54b9c3d0
...@@ -733,7 +733,7 @@ config I2C_LPC2K ...@@ -733,7 +733,7 @@ config I2C_LPC2K
config I2C_MLXBF config I2C_MLXBF
tristate "Mellanox BlueField I2C controller" tristate "Mellanox BlueField I2C controller"
depends on ARM64 depends on MELLANOX_PLATFORM && ARM64
help help
Enabling this option will add I2C SMBus support for Mellanox BlueField Enabling this option will add I2C SMBus support for Mellanox BlueField
system. system.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment