Skip to contentSkip to conversation

dpll: zl3073x: Fix build failure

PATCH Applied Ivan Vecera 2 participants 2 messages Jul 26, 2025

Subsystems (4)
lore
Share & tools
lore

Ivan Vecera

author maintainer
#0 lore raw

PATCH 1/1 dpll: zl3073x: Fix build failure

If CONFIG_ZL3073X is enabled but both CONFIG_ZL3073X_I2C and CONFIG_ZL3073X_SPI are disabled, the compilation may fail because CONFIG_REGMAP is not enabled.

Fix the issue by selecting CONFIG_REGMAP when CONFIG_ZL3073X is enabled.

Fixes 2df8e64e01c10 ("dpll: Add basic Microchip ZL3073x support")
---
 drivers/dpll/zl3073x/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/dpll/zl3073x/Kconfig +1 -0
index 41fa6a8f96ab9..7db262ab84582 100644
@@ -5,6 +5,7 @@ config ZL3073X
 	depends on NET
 	select DPLL
 	select NET_DEVLINK
+	select REGMAP
 	help
 	  This driver supports Microchip Azurite family DPLL/PTP/SyncE
 	  devices that support up to 5 independent DPLL channels,
Signature · 1 line
2.49.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Sat, 26 Jul 2025 20:41:45 +0200 you wrote:

If CONFIG_ZL3073X is enabled but both CONFIG_ZL3073X_I2C and CONFIG_ZL3073X_SPI are disabled, the compilation may fail because CONFIG_REGMAP is not enabled.

Fix the issue by selecting CONFIG_REGMAP when CONFIG_ZL3073X is enabled.

Fixes 2df8e64e01c10 ("dpll: Add basic Microchip ZL3073x support")

[...]

Here is the summary with links:
- [net-next] dpll: zl3073x: Fix build failure

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

You are awesome, thank you!

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