Commit 22420dc7 authored by Dong Aisheng's avatar Dong Aisheng Committed by Shawn Guo
Browse files

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: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ef2c1c84
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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");