Skip to content

Commit

Permalink
clk: qcom: rpmh: Sort OF match table
Browse files Browse the repository at this point in the history
sc7180 was added to the end of the match table, sort the table.

Fixes: eee2810 ("clk: qcom: clk-rpmh: Add support for RPMHCC for SC7180")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lkml.kernel.org/r/20200124175934.3937473-1-bjorn.andersson@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Bjorn Andersson authored and Stephen Boyd committed Jan 28, 2020
1 parent 7914d5c commit 9e0cda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/qcom/clk-rpmh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9e0cda7

Please sign in to comment.