Re: [PATCH -next] clk: qcom: fix build error initializer element is not constant

From: Bjorn Andersson
Date: Sat Jul 16 2022 - 23:09:19 EST


On Thu, 14 Jul 2022 20:11:44 +0800, Ren Zhijie wrote:
> CONFIG_CC_VERSION_TEXT="x86_64-linux-gnu-gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0"
> make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu-, will be failed, like this:
>
> drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not constant
> gpu_cc_parent,
> ^~~~~~~~~~~~~
> drivers/clk/qcom/gpucc-sm8350.c:111:2: note: (near initialization for ‘gpu_cc_parent_data_0[0]’)
> drivers/clk/qcom/gpucc-sm8350.c:126:2: error: initializer element is not constant
> gpu_cc_parent,
> ^~~~~~~~~~~~~
> drivers/clk/qcom/gpucc-sm8350.c:126:2: note: (near initialization for ‘gpu_cc_parent_data_1[0]’)
> make[3]: *** [drivers/clk/qcom/gpucc-sm8350.o] Error 1
>
> [...]

Applied, thanks!

[1/1] clk: qcom: fix build error initializer element is not constant
commit: b5eb8cde863cdf455436c7ba3fb7362c49e1e64e

Best regards,
--
Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>