Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: Fix modular build

According to Documentation/kbuild/makefiles.txt these symbols
should be clk-qcom-y. Otherwise the build will fail if
CONFIG_COMMON_CLK_QCOM=m. Fix it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>

authored by

Stephen Boyd and committed by
Mike Turquette
051c8d0b 3e049157

+6 -6
+6 -6
drivers/clk/qcom/Makefile
··· 1 1 obj-$(CONFIG_COMMON_CLK_QCOM) += clk-qcom.o 2 2 3 - clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-regmap.o 4 - clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-pll.o 5 - clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-rcg.o 6 - clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-rcg2.o 7 - clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-branch.o 8 - clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += reset.o 3 + clk-qcom-y += clk-regmap.o 4 + clk-qcom-y += clk-pll.o 5 + clk-qcom-y += clk-rcg.o 6 + clk-qcom-y += clk-rcg2.o 7 + clk-qcom-y += clk-branch.o 8 + clk-qcom-y += reset.o 9 9 10 10 obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o 11 11 obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o