summaryrefslogtreecommitdiff
path: root/drivers/interconnect/qcom/Makefile
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2022-07-12 04:59:26 +0300
committerGeorgi Djakov <djakov@kernel.org>2022-07-12 10:01:30 +0300
commitcb4805b5a5e44063d2b194d97e705888eaf59005 (patch)
treea3ea21dd8315d04856e46b473cb1c1086d1a1edf /drivers/interconnect/qcom/Makefile
parent2c510f5bee760a83b1ce0790dcccb8301dd41ce8 (diff)
downloadlinux-cb4805b5a5e44063d2b194d97e705888eaf59005.tar.xz
interconnect: qcom: Move qcom_icc_xlate_extended() to a common file
since there have conflict between two headers icc-rpmh.h and icc-rpm.h, the function qcom_icc_xlate_extended() is declared in icc-rpmh.h thus it cannot be used by icc-rpm driver. Move the function to a new common file icc-common.c so that allow it to be called by multiple drivers. Signed-off-by: Leo Yan <leo.yan@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220712015929.2789881-3-leo.yan@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/qcom/Makefile')
-rw-r--r--drivers/interconnect/qcom/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/Makefile b/drivers/interconnect/qcom/Makefile
index 8d1fe9d38ac3..e6451470f812 100644
--- a/drivers/interconnect/qcom/Makefile
+++ b/drivers/interconnect/qcom/Makefile
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_INTERCONNECT_QCOM) += interconnect_qcom.o
+
+interconnect_qcom-y := icc-common.o
icc-bcm-voter-objs := bcm-voter.o
qnoc-msm8916-objs := msm8916.o
qnoc-msm8939-objs := msm8939.o