mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
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:
@@ -353,7 +353,12 @@ static struct platform_driver imx_scu_driver = {
|
||||
},
|
||||
.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_DESCRIPTION("IMX SCU firmware protocol driver");
|
||||
|
||||
Reference in New Issue
Block a user