Skip to content

Commit fa582ca

Browse files
ivecerakuba-moo
authored andcommitted
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: 2df8e64 ("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]>
1 parent 38b74b2 commit fa582ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/dpll/zl3073x/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config ZL3073X
55
depends on NET
66
select DPLL
77
select NET_DEVLINK
8+
select REGMAP
89
help
910
This driver supports Microchip Azurite family DPLL/PTP/SyncE
1011
devices that support up to 5 independent DPLL channels,

0 commit comments

Comments
 (0)