Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6ddaecb authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ion: msm: Move msm_ion probe to subsys_initcall_sync"

parents 9745a9b4 ab30032c
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -577,6 +577,17 @@ static struct platform_driver msm_ion_driver = {
		.of_match_table = msm_ion_match_table,
	},
};
module_platform_driver(msm_ion_driver);

static int __init msm_ion_init(void)
{
	return platform_driver_register(&msm_ion_driver);
}
subsys_initcall_sync(msm_ion_init);

static void __exit msm_ion_exit(void)
{
	return platform_driver_unregister(&msm_ion_driver);
}
module_exit(msm_ion_exit);

MODULE_LICENSE("GPL v2");