projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7914d5c
)
clk: qcom: rpmh: Sort OF match table
author
Bjorn Andersson
<bjorn.andersson@linaro.org>
Fri, 24 Jan 2020 17:59:34 +0000
(09:59 -0800)
committer
Stephen Boyd
<sboyd@kernel.org>
Tue, 28 Jan 2020 18:27:57 +0000
(10:27 -0800)
sc7180 was added to the end of the match table, sort the table.
Fixes:
eee28109f871
("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>
drivers/clk/qcom/clk-rpmh.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/clk-rpmh.c
b/drivers/clk/qcom/clk-rpmh.c
index
593bfa4
..
98a118c
100644
(file)
--- a/
drivers/clk/qcom/clk-rpmh.c
+++ b/
drivers/clk/qcom/clk-rpmh.c
@@
-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);