Commit 9e0cda72 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Stephen Boyd
Browse files

clk: qcom: rpmh: Sort OF match table



sc7180 was added to the end of the match table, sort the table.

Fixes: eee28109 ("clk: qcom: clk-rpmh: Add support for RPMHCC for SC7180")
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lkml.kernel.org/r/20200124175934.3937473-1-bjorn.andersson@linaro.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 7914d5c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -487,9 +487,9 @@ static int clk_rpmh_probe(struct platform_device *pdev)
}

static const struct of_device_id clk_rpmh_match_table[] = {
	{ .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
	{ .compatible = "qcom,sdm845-rpmh-clk", .data = &clk_rpmh_sdm845},
	{ .compatible = "qcom,sm8150-rpmh-clk", .data = &clk_rpmh_sm8150},
	{ .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
	{ }
};
MODULE_DEVICE_TABLE(of, clk_rpmh_match_table);