aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/hi6421v530-regulator.c
diff options
context:
space:
mode:
authorRandy Dunlap2020-12-25 10:50:04 -0800
committerMark Brown2020-12-28 12:24:48 +0000
commitac6b559d818981406e587f4784777e9112d553f4 (patch)
treed0030a468ac423ce609c01119a4c10d35378a6d6 /drivers/regulator/hi6421v530-regulator.c
parent4d5270e70981c278307e6c25666c300653ed5f4c (diff)
regulator: qcom-rpmh: fix build after QCOM_COMMAND_DB is tristate
Restrict REGULATOR_QCOM_RPMH to QCOM_COMMAND_DB it the latter is enabled. Fixes this build error: microblaze-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_probe': (.text+0x354): undefined reference to `cmd_db_read_addr' Fixes: 778279f4f5e4 ("soc: qcom: cmd-db: allow loading as a module") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Lina Iyer <ilina@codeaurora.org> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Reviewed-by: Lina Iyer <ilina@codeaurora.org> Link: https://lore.kernel.org/r/20201225185004.20747-1-rdunlap@infradead.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/hi6421v530-regulator.c')
0 files changed, 0 insertions, 0 deletions