interconnect: qcom: Change bcm voter initlevel

The interconnect devices require bcm voter to be initialized in
order to avoid unnecessary probe deferrals in the built-in configuration.

Change-Id: I67d5d1412a8962ad1750ddf7871cc34aa0ecfe19
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This commit is contained in:
Harshdeep Dhatt 2020-01-07 20:12:14 -07:00
commit 8e444344bc

View file

@ -365,6 +365,18 @@ static struct platform_driver qcom_icc_bcm_voter_driver = {
.of_match_table = bcm_voter_of_match,
},
};
module_platform_driver(qcom_icc_bcm_voter_driver);
static int __init bcm_voter_driver_init(void)
{
return platform_driver_register(&qcom_icc_bcm_voter_driver);
}
core_initcall(bcm_voter_driver_init);
static void __exit bcm_voter_driver_exit(void)
{
platform_driver_unregister(&qcom_icc_bcm_voter_driver);
}
module_exit(bcm_voter_driver_exit);
MODULE_DESCRIPTION("QTI BCM Voter interconnect driver");
MODULE_LICENSE("GPL v2");