clk/qcom: sc7280: Fix variable name of msm_clk_data
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 11 Jun 2025 12:08:44 +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 sc7280_gcc_data as it's in the sc7280
driver.

Fixes: f50e7be6bb1 ("clk/qcom: add initial clock driver for sc7280")
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-1-37615b74daad@fairphone.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/clk/qcom/clock-sc7280.c

index 9aff8a8..47e0ca5 100644 (file)
@@ -205,7 +205,7 @@ static const char *const sc7280_rcg_names[] = {
        "GCC_PCIE_1_AUX_CLK_SRC",
 };
 
-static struct msm_clk_data qcs404_gcc_data = {
+static struct msm_clk_data sc7280_gcc_data = {
        .resets = sc7280_gcc_resets,
        .num_resets = ARRAY_SIZE(sc7280_gcc_resets),
        .clks = sc7280_clks,
@@ -225,7 +225,7 @@ static struct msm_clk_data qcs404_gcc_data = {
 static const struct udevice_id gcc_sc7280_of_match[] = {
        {
                .compatible = "qcom,gcc-sc7280",
-               .data = (ulong)&qcs404_gcc_data,
+               .data = (ulong)&sc7280_gcc_data,
        },
        { }
 };