Commit 4eccc154 authored by Rajendra Nayak's avatar Rajendra Nayak Committed by Andy Gross

soc: qcom: update config dependencies for QCOM_RPMPD

Since QCOM_RPMPD is bool and it depends on QCOM_SMD_RPM
which is tristate, configurations such as arm64:allmodconfig
result in

CONFIG_QCOM_RPMPD=y
CONFIG_QCOM_SMD_RPM=m

This in turn results in

drivers/soc/qcom/rpmpd.o: In function `rpmpd_send_corner':
rpmpd.c:(.text+0x10c): undefined reference to `qcom_rpm_smd_write'
drivers/soc/qcom/rpmpd.o: In function `rpmpd_power_on':
rpmpd.c:(.text+0x3b4): undefined reference to `qcom_rpm_smd_write'
drivers/soc/qcom/rpmpd.o: In function `rpmpd_power_off':
rpmpd.c:(.text+0x520): undefined reference to `qcom_rpm_smd_write'
make: *** [vmlinux] Error 1

Fix it by making QCOM_RPMPD depend on QCOM_SMD_RPM=y
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarRajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 41c5bb76
...@@ -109,7 +109,7 @@ config QCOM_RPMHPD ...@@ -109,7 +109,7 @@ config QCOM_RPMHPD
config QCOM_RPMPD config QCOM_RPMPD
bool "Qualcomm RPM Power domain driver" bool "Qualcomm RPM Power domain driver"
depends on QCOM_SMD_RPM depends on QCOM_SMD_RPM=y
help help
QCOM RPM Power domain driver to support power-domains with QCOM RPM Power domain driver to support power-domains with
performance states. The driver communicates a performance state performance states. The driver communicates a performance state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment