firmware: imx: scu: change init level to subsys_initcall_sync
Change firmware init level to subsys_initcall_sync to ensure it's probed before most devices to avoid unnecessary defer probe. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
ef2c1c84bc
commit
22420dc71e
@ -353,7 +353,12 @@ static struct platform_driver imx_scu_driver = {
|
|||||||
},
|
},
|
||||||
.probe = imx_scu_probe,
|
.probe = imx_scu_probe,
|
||||||
};
|
};
|
||||||
builtin_platform_driver(imx_scu_driver);
|
|
||||||
|
static int __init imx_scu_driver_init(void)
|
||||||
|
{
|
||||||
|
return platform_driver_register(&imx_scu_driver);
|
||||||
|
}
|
||||||
|
subsys_initcall_sync(imx_scu_driver_init);
|
||||||
|
|
||||||
MODULE_AUTHOR("Dong Aisheng <aisheng.dong@nxp.com>");
|
MODULE_AUTHOR("Dong Aisheng <aisheng.dong@nxp.com>");
|
||||||
MODULE_DESCRIPTION("IMX SCU firmware protocol driver");
|
MODULE_DESCRIPTION("IMX SCU firmware protocol driver");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user