mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "PM / devfreq: icc: move init call to late init call"
This commit is contained in:
commit
507b1bd516
1 changed files with 17 additions and 1 deletions
|
|
@ -338,6 +338,22 @@ static struct platform_driver devfreq_icc_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
module_platform_driver(devfreq_icc_driver);
|
||||
static int __init devfreq_icc_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = platform_driver_register(&devfreq_icc_driver);
|
||||
if (ret)
|
||||
pr_err("devfreq_icc register failed %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
late_initcall(devfreq_icc_init);
|
||||
|
||||
static __exit void devfreq_icc_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&devfreq_icc_driver);
|
||||
}
|
||||
module_exit(devfreq_icc_exit);
|
||||
|
||||
MODULE_DESCRIPTION("Device DDR bandwidth voting driver MSM SoCs");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
Loading…
Reference in a new issue