Skip to content

Commit 1fd86e2

Browse files
SamuelZOUGeorgi 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 <[email protected]> Signed-off-by: Zou Wei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: 976daac ("interconnect: qcom: Consolidate interconnect RPMh support") Signed-off-by: Georgi Djakov <[email protected]>
1 parent a005937 commit 1fd86e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)