]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk/qcom: sm8250: Fix variable name of msm_clk_data
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 11 Jun 2025 12:08:45 +0000 (14:08 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jun 2025 13:54:51 +0000 (07:54 -0600)
Update the variable name to sm8250_gcc_data as it's in the sm8250
driver.

Fixes: dcd688229cb ("clk/qcom: add driver for sm8250 GCC")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250611-qcom-clk-variable-names-v1-2-37615b74daad@fairphone.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/clk/qcom/clock-sm8250.c

index 26396847d85964d5056cf9af62b8bc89be34dc43..cc481258d2266a40c54d51fd2c5faee22ea9f2cc 100644 (file)
@@ -360,7 +360,7 @@ static const char *const sm8250_rcg_names[] = {
        "GCC_PCIE_2_AUX_CMD_RCGR",
 };
 
-static struct msm_clk_data qcs404_gcc_data = {
+static struct msm_clk_data sm8250_gcc_data = {
        .resets = sm8250_gcc_resets,
        .num_resets = ARRAY_SIZE(sm8250_gcc_resets),
        .clks = sm8250_clks,
@@ -381,7 +381,7 @@ static struct msm_clk_data qcs404_gcc_data = {
 static const struct udevice_id gcc_sm8250_of_match[] = {
        {
                .compatible = "qcom,gcc-sm8250",
-               .data = (ulong)&qcs404_gcc_data,
+               .data = (ulong)&sm8250_gcc_data,
        },
        {}
 };