In the case that the Qualcomm Sleep stats driver is builtin and the AOSSReviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
QMP driver is built as a module, neither the implementation nor the stub
functions are available during linking, resulting in the following
errors:
qcom_stats.c:(.text+0x33c): undefined reference to `qmp_send'
qcom_stats.c:(.text+0x8a0): undefined reference to `qmp_get'
Resolve this by expressing the dependency between the two modules.
Fixes: e84e61bdb97c ("soc: qcom: stats: Add DDR sleep stats")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/linux-arm-msm/202312061258.nAVYPFq2-lkp@xxxxxxxxx/
Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---