提交 9d85fb73 编写于 作者: K Konrad Dybcio 提交者: Bjorn Andersson

rpmsg: qcom_smd: Promote to arch_initcall

qcom_smd's only child, smd-rpm uses arch_initcall and both have to be up
before almost anything else to ensure the MSM SoCs will work fine and
nothing will have to resort to probe defering, as this is the main pillar
of all things DVFS on these machines. Promote it to arch_initcall to avoid
such issues.
Signed-off-by: NKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211230023253.1123142-1-konrad.dybcio@somainline.org
上级 26291c54
...@@ -1605,7 +1605,7 @@ static int __init qcom_smd_init(void) ...@@ -1605,7 +1605,7 @@ static int __init qcom_smd_init(void)
{ {
return platform_driver_register(&qcom_smd_driver); return platform_driver_register(&qcom_smd_driver);
} }
subsys_initcall(qcom_smd_init); arch_initcall(qcom_smd_init);
static void __exit qcom_smd_exit(void) static void __exit qcom_smd_exit(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册