]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
authorChen Hui <clare.chenhui@huawei.com>
Fri, 9 Apr 2021 08:23:52 +0000 (16:23 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 9 Apr 2021 18:20:53 +0000 (11:20 -0700)
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: ecd2bacfbbc4 ("clk: qcom: Add ipq apss pll driver")
Signed-off-by: Chen Hui <clare.chenhui@huawei.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20210409082352.233810-4-clare.chenhui@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/apss-ipq-pll.c

index 30be87fb222aaabe51a48f620ace826ef9599c28..bef7899ad0d660de94d6cd1cfd2639fd2e943ad7 100644 (file)
@@ -81,6 +81,7 @@ static const struct of_device_id apss_ipq_pll_match_table[] = {
        { .compatible = "qcom,ipq6018-a53pll" },
        { }
 };
+MODULE_DEVICE_TABLE(of, apss_ipq_pll_match_table);
 
 static struct platform_driver apss_ipq_pll_driver = {
        .probe = apss_ipq_pll_probe,