Skip to content

Commit 1fd86e2

Browse files
Zou WeiGeorgi Djakov
authored andcommitted
interconnect: qcom: Add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1620704673-104205-1-git-send-email-zou_wei@huawei.com Fixes: 976daac ("interconnect: qcom: Consolidate interconnect RPMh support") Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent a005937 commit 1fd86e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/interconnect/qcom/bcm-voter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ static const struct of_device_id bcm_voter_of_match[] = {
363363
{ .compatible = "qcom,bcm-voter" },
364364
{ }
365365
};
366+
MODULE_DEVICE_TABLE(of, bcm_voter_of_match);
366367

367368
static struct platform_driver qcom_icc_bcm_voter_driver = {
368369
.probe = qcom_icc_bcm_voter_probe,

0 commit comments

Comments
 (0)