Skip to content

Commit d957d16

Browse files
arndbbroonie
authored andcommitted
regulator: qcom-rpmh: add QCOM_COMMAND_DB dependency
A built-in regulator driver cannot link against a modular cmd_db driver: qcom-rpmh-regulator.c:(.text+0x174): undefined reference to `cmd_db_read_addr' There is already a dependency for RPMh, so add another one of this type for cmd_db. Fixes: 34c5aa2 ("regulator: Kconfig: Fix REGULATOR_QCOM_RPMH dependencies to avoid build error") Fixes: 46fc033 ("regulator: add QCOM RPMh regulator driver") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2ae6f64 commit d957d16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/regulator/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ config REGULATOR_QCOM_RPM
881881
config REGULATOR_QCOM_RPMH
882882
tristate "Qualcomm Technologies, Inc. RPMh regulator driver"
883883
depends on QCOM_RPMH || (QCOM_RPMH=n && COMPILE_TEST)
884+
depends on QCOM_COMMAND_DB || (QCOM_COMMAND_DB=n && COMPILE_TEST)
884885
help
885886
This driver supports control of PMIC regulators via the RPMh hardware
886887
block found on Qualcomm Technologies Inc. SoCs. RPMh regulator

0 commit comments

Comments
 (0)