diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-05-11 06:44:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 10:00:46 +0300 |
commit | 211c5d16e3575a96752a58c5f55a8abef399fa46 (patch) | |
tree | 913cd2616364629c8fdf1d6644640e9005bb8334 /drivers/interconnect | |
parent | 4e3cea8035b6f1b9055e69cc6ebf9fa4e50763ae (diff) | |
download | linux-211c5d16e3575a96752a58c5f55a8abef399fa46.tar.xz |
interconnect: qcom: Add missing MODULE_DEVICE_TABLE
[ Upstream commit 1fd86e280d8b21762901e43d42d66dbfe8b8e0d3 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/interconnect')
-rw-r--r-- | drivers/interconnect/qcom/bcm-voter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/interconnect/qcom/bcm-voter.c b/drivers/interconnect/qcom/bcm-voter.c index 7c3ef817e99c..dd0e3bd50b94 100644 --- a/drivers/interconnect/qcom/bcm-voter.c +++ b/drivers/interconnect/qcom/bcm-voter.c @@ -370,6 +370,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, |