]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dpll: zl3073x: Fix build failure
authorIvan Vecera <ivecera@redhat.com>
Sat, 26 Jul 2025 18:41:45 +0000 (20:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 26 Jul 2025 19:05:33 +0000 (12:05 -0700)
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 <ivecera@redhat.com>
Link: https://patch.msgid.link/20250726184145.25769-1-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/dpll/zl3073x/Kconfig

index 41fa6a8f96ab97e1d0cf5a9c4549d084f3ef36f3..7db262ab84582d29dee9d1e62a8777cde8137c84 100644 (file)
@@ -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,