summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2021-05-11 11:44:33 +0800
committerGeorgi Djakov <djakov@kernel.org>2021-05-11 07:26:31 +0300
commit1fd86e280d8b21762901e43d42d66dbfe8b8e0d3 (patch)
tree028c1eb55d057f4a3e41875eaf67ada86cb0d6d6 /drivers
parenta00593737f8bac2c9e97b696e7ff84a4446653e8 (diff)
downloadlinux-stable-1fd86e280d8b21762901e43d42d66dbfe8b8e0d3.tar.gz
linux-stable-1fd86e280d8b21762901e43d42d66dbfe8b8e0d3.tar.bz2
linux-stable-1fd86e280d8b21762901e43d42d66dbfe8b8e0d3.zip
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: 976daac4a1c5 ("interconnect: qcom: Consolidate interconnect RPMh support") Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/interconnect/qcom/bcm-voter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/bcm-voter.c b/drivers/interconnect/qcom/bcm-voter.c
index 547f4c2593f4..8f385f9c2dd3 100644
--- a/drivers/interconnect/qcom/bcm-voter.c
+++ b/drivers/interconnect/qcom/bcm-voter.c
@@ -363,6 +363,7 @@ static const struct of_device_id bcm_voter_of_match[] = {
{ .compatible = "qcom,bcm-voter" },
{ }
};
+MODULE_DEVICE_TABLE(of, bcm_voter_of_match);
static struct platform_driver qcom_icc_bcm_voter_driver = {
.probe = qcom_icc_bcm_voter_probe,