Skip to contentSkip to conversation

net: dsa: ocelot: fix selecting MFD_OCELOT

PATCH Applied Lukas Bulwahn 3 participants 3 messages Feb 15, 2023 – Feb 16, 2023

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dsa: ocelot: fix selecting MFD_OCELOT

Commit 3d7316ac81ac ("net: dsa: ocelot: add external ocelot switch control") adds config NET_DSA_MSCC_OCELOT_EXT, which selects the non-existing config MFD_OCELOT_CORE.

Replace this select with the intended and existing MFD_OCELOT.

---
 drivers/net/dsa/ocelot/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/ocelot/Kconfig +1 -1
index eff0a7dfcd21..081e7a88ea02 100644
@@ -14,7 +14,7 @@ config NET_DSA_MSCC_OCELOT_EXT
 	depends on NET_VENDOR_MICROSEMI
 	depends on PTP_1588_CLOCK_OPTIONAL
 	select MDIO_MSCC_MIIM
-	select MFD_OCELOT_CORE
+	select MFD_OCELOT
 	select MSCC_OCELOT_SWITCH_LIB
 	select NET_DSA_MSCC_FELIX_DSA_LIB
 	select NET_DSA_TAG_OCELOT_8021Q
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw

Hi Lukas,

Quoted 5 lines · Lukas Bulwahn

Commit 3d7316ac81ac ("net: dsa: ocelot: add external ocelot switch control") adds config NET_DSA_MSCC_OCELOT_EXT, which selects the non-existing config MFD_OCELOT_CORE.

Replace this select with the intended and existing MFD_OCELOT.

Thanks for this. We pivoted away from *_CORE a while back and I clearly missed this. It can go through net-next this week.

Quoted 22 lines
---
 drivers/net/dsa/ocelot/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/ocelot/Kconfig +1 -1
index eff0a7dfcd21..081e7a88ea02 100644
@@ -14,7 +14,7 @@ config NET_DSA_MSCC_OCELOT_EXT
 	depends on NET_VENDOR_MICROSEMI
 	depends on PTP_1588_CLOCK_OPTIONAL
 	select MDIO_MSCC_MIIM
-	select MFD_OCELOT_CORE
+	select MFD_OCELOT
 	select MSCC_OCELOT_SWITCH_LIB
 	select NET_DSA_MSCC_FELIX_DSA_LIB
 	select NET_DSA_TAG_OCELOT_8021Q
Signature · 1 line
2.17.1
#2 lore raw
In reply to Lukas Bulwahn
This patch was applied to netdev/net-next.git (master) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Paolo Abeni <[email protected]>:

Quoted 9 lines · On Wed, 15 Feb 2023 11:46:31 +0100 you wrote:

Commit 3d7316ac81ac ("net: dsa: ocelot: add external ocelot switch control") adds config NET_DSA_MSCC_OCELOT_EXT, which selects the non-existing config MFD_OCELOT_CORE.

Replace this select with the intended and existing MFD_OCELOT.

[...]

Here is the summary with links:
- net: dsa: ocelot: fix selecting MFD_OCELOT

    https://git.kernel.org/netdev/net-next/c/f5b12be34249

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html