aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Vecera <[email protected]>2025-07-26 18:41:45 +0000
committerJakub Kicinski <[email protected]>2025-07-26 19:05:33 +0000
commitfa582ca7e187a15e772e6a72fe035f649b387a60 (patch)
tree337c3c742169f6d01fefa72464128325b67a7afa
parentselftests: bpf: fix legacy netfilter options (diff)
downloadkernel-fa582ca7e187a15e772e6a72fe035f649b387a60.tar.gz
kernel-fa582ca7e187a15e772e6a72fe035f649b387a60.zip
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") Signed-off-by: Ivan Vecera <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--drivers/dpll/zl3073x/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dpll/zl3073x/Kconfig b/drivers/dpll/zl3073x/Kconfig
index 41fa6a8f96ab..7db262ab8458 100644
--- a/drivers/dpll/zl3073x/Kconfig
+++ b/drivers/dpll/zl3073x/Kconfig
@@ -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,