• Lina Iyer's avatar
    soc: qcom: Kconfig: make RPMH match Command DB setting · 827b5e6e
    Lina Iyer authored
    RPMH and drivers that use RPMH APIs need Command DB API to find the
    dynamic resource information. Let's match the RPMH to match the Command
    DB configuration.
    
    This should fix undefined symbol references reported by CI :
    
       aarch64-linux-ld: drivers/clk/qcom/clk-rpmh.o: in function `clk_rpmh_probe':
    >> clk-rpmh.c:(.text+0xac): undefined reference to `cmd_db_read_addr'
    >> aarch64-linux-ld: clk-rpmh.c:(.text+0xc0): undefined reference to `cmd_db_read_aux_data'
       aarch64-linux-ld: drivers/soc/qcom/rpmh-rsc.o: in function `rpmh_rsc_probe':
    >> rpmh-rsc.c:(.text+0x42c): undefined reference to `cmd_db_ready'
       aarch64-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_probe':
    >> qcom-rpmh-regulator.c:(.text+0x3e0): undefined reference to `cmd_db_read_addr'
    
    Cc: Todd Kjos <tkjos@google.com>
    Cc: John Stultz <john.stultz@linaro.org>
    Cc: Maulik Shah <mkshah@codeaurora.org>
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
    Link: https://lore.kernel.org/r/20201008040907.7036-1-ilina@codeaurora.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
    827b5e6e
Kconfig 6.64 KB