Skip to content
Snippets Groups Projects
Commit 3968d95f authored by Chen Hui's avatar Chen Hui Committed by Greg Kroah-Hartman
Browse files

clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE


[ Upstream commit d0a859ed ]

CONFIG_IPQ_APSS_PLL is tristate option and therefore this driver can
be compiled as a module. 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.

Fixes: ecd2bacf ("clk: qcom: Add ipq apss pll driver")
Signed-off-by: default avatarChen Hui <clare.chenhui@huawei.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20210409082352.233810-4-clare.chenhui@huawei.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent edc6a44b
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,7 @@ static const struct of_device_id apss_ipq_pll_match_table[] = { ...@@ -81,6 +81,7 @@ static const struct of_device_id apss_ipq_pll_match_table[] = {
{ .compatible = "qcom,ipq6018-a53pll" }, { .compatible = "qcom,ipq6018-a53pll" },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, apss_ipq_pll_match_table);
static struct platform_driver apss_ipq_pll_driver = { static struct platform_driver apss_ipq_pll_driver = {
.probe = apss_ipq_pll_probe, .probe = apss_ipq_pll_probe,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment