mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
interconnect: Move Lahaina interconnect driver to core_initcall
The interconnect drivers are essential to nearly every leaf driver and subcomponenent in the SoC. Move the lahaina icc driver to core_initcall so it is available to the dependent drivers when everybody is built in. Change-Id: Ic0dedbad05673b756d7971ca8166919f3418aed0 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
3817fdb8ea
commit
9daabd4c25
1 changed files with 12 additions and 1 deletions
|
|
@ -807,7 +807,18 @@ static struct platform_driver qnoc_driver = {
|
|||
.of_match_table = qnoc_of_match,
|
||||
},
|
||||
};
|
||||
module_platform_driver(qnoc_driver);
|
||||
|
||||
static int __init qnoc_driver_init(void)
|
||||
{
|
||||
return platform_driver_register(&qnoc_driver);
|
||||
}
|
||||
core_initcall(qnoc_driver_init);
|
||||
|
||||
static void __exit qnoc_driver_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&qnoc_driver);
|
||||
}
|
||||
module_exit(qnoc_driver_exit);
|
||||
|
||||
MODULE_DESCRIPTION("Lahaina NoC driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
Loading…
Reference in a new issue