]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 5 Oct 2020 12:49:49 +0000 (14:49 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 6 Nov 2020 14:55:57 +0000 (15:55 +0100)
commit40d836575071418775cdb03892b212867b4453fe
tree7dbf6c1d222521d41ab75fb265d4cb5dbcf39561
parent9898f0f5513a895dd7fe8bb91a5da1df187d79cf
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: 2fd238a293cc7ee4 ("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>
drivers/i2c/busses/Kconfig