diff options
author | Andy Gross <andy.gross@linaro.org> | 2016-07-02 00:04:03 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-07-05 17:29:25 -0400 |
commit | 6c8e99d874c96200ce985d19b407d49ed3306226 (patch) | |
tree | 3d1fc63bf5a8b0a4f12944413828e2aa8ae6ca6f | |
parent | 72d43419400f31d9eb634466446e3ceddce30be7 (diff) |
firmware: qcom: scm: Change initcall to subsys
The patch changes the initcall for SCM to use subsys_initcall
instead of arch_initcall. This corrects the order so that we don't
probe defer when trying to get clks which causes issues later when
the spm driver makes calls to qcom_set_warm_boot_addr().
The order became an issue due to the changes to use arch_initcall_sync
for of_platform_default_populate_init().
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | drivers/firmware/qcom_scm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 89c3775fb69b..e64a501adbf4 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c | |||
@@ -415,7 +415,7 @@ static int __init qcom_scm_init(void) | |||
415 | return platform_driver_register(&qcom_scm_driver); | 415 | return platform_driver_register(&qcom_scm_driver); |
416 | } | 416 | } |
417 | 417 | ||
418 | arch_initcall(qcom_scm_init); | 418 | subsys_initcall(qcom_scm_init); |
419 | 419 | ||
420 | static void __exit qcom_scm_exit(void) | 420 | static void __exit qcom_scm_exit(void) |
421 | { | 421 | { |