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

Commit 4c83deef authored by Jeff Hugo's avatar Jeff Hugo
Browse files

soc: qcom: glink_smem_native_xprt: Move to arch_initcall()



The SMEM Native Transport is used by the Glink framework to communicate
with the power management processor for cases like voting for clocks and
regulators.  Therefore, the SMEM transport is critical to the
boot process and should init as early as possible to unblock boot.

Move SMEM Native Transport from module_init() to arch_initcall() to unblock
boot.

Change-Id: I01b4eb716da7875ecf6da01bc68de01dfba2bb1b
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 605329dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -2211,7 +2211,7 @@ static int __init glink_smem_native_xprt_init(void)
	debugfs_init();
	return 0;
}
module_init(glink_smem_native_xprt_init);
arch_initcall(glink_smem_native_xprt_init);

MODULE_DESCRIPTION("MSM G-Link SMEM Native Transport");
MODULE_LICENSE("GPL v2");