* [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM
@ 2020-10-05 12:49 Geert Uytterhoeven
2020-10-10 11:19 ` Wolfram Sang
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2020-10-05 12:49 UTC (permalink / raw)
To: Khalil Blaiech, Vadim Pasternak, Wolfram Sang
Cc: linux-i2c, linux-kernel, Geert Uytterhoeven
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: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 96685b273f637176..424dee8b33600057 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -732,7 +732,7 @@ config I2C_LPC2K
config I2C_MLXBF
tristate "Mellanox BlueField I2C controller"
- depends on ARM64
+ depends on MELLANOX_PLATFORM && ARM64
help
Enabling this option will add I2C SMBus support for Mellanox BlueField
system.
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM
2020-10-05 12:49 [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM Geert Uytterhoeven
@ 2020-10-10 11:19 ` Wolfram Sang
2020-11-06 14:58 ` Wolfram Sang
0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2020-10-10 11:19 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Khalil Blaiech, Vadim Pasternak, linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
On Mon, Oct 05, 2020 at 02:49:49PM +0200, Geert Uytterhoeven wrote:
> 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: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Usually, I wait for maintainer acks before I apply driver patches. I
make an exception here to have it sorted out before the merge window.
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM
2020-10-10 11:19 ` Wolfram Sang
@ 2020-11-06 14:58 ` Wolfram Sang
0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2020-11-06 14:58 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Khalil Blaiech, Vadim Pasternak, linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
On Sat, Oct 10, 2020 at 01:19:42PM +0200, Wolfram Sang wrote:
> On Mon, Oct 05, 2020 at 02:49:49PM +0200, Geert Uytterhoeven wrote:
> > 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: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC")
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Usually, I wait for maintainer acks before I apply driver patches. I
> make an exception here to have it sorted out before the merge window.
>
> Applied to for-next, thanks!
Strange, this one got missing, too. Applied again to for-current!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-06 14:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 12:49 [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM Geert Uytterhoeven
2020-10-10 11:19 ` Wolfram Sang
2020-11-06 14:58 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).