mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
PM / devfreq: qoslat: move registration to late init
Move qoslat to late init to ensure all resources it needs have finished probing. Change-Id: Ib4f2315aae186f64f531388b2b989c7db9970050 Signed-off-by: Amir Vajid <avajid@codeaurora.org>
This commit is contained in:
parent
901b25eef8
commit
188037dde6
1 changed files with 7 additions and 1 deletions
|
|
@ -156,6 +156,12 @@ static struct platform_driver devfreq_qcom_qoslat_driver = {
|
|||
.of_match_table = devfreq_qoslat_match_table,
|
||||
},
|
||||
};
|
||||
module_platform_driver(devfreq_qcom_qoslat_driver);
|
||||
|
||||
static int __init register_devfreq_qcom_qoslat_driver(void)
|
||||
{
|
||||
return platform_driver_register(&devfreq_qcom_qoslat_driver);
|
||||
}
|
||||
|
||||
late_initcall(register_devfreq_qcom_qoslat_driver);
|
||||
MODULE_DESCRIPTION("Device driver for setting memory latency qos level");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
Loading…
Reference in a new issue