Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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>

authored by

Chen Hui and committed by
Stephen Boyd
d0a859ed 790b516a

+1
+1
drivers/clk/qcom/apss-ipq-pll.c
··· 81 81 { .compatible = "qcom,ipq6018-a53pll" }, 82 82 { } 83 83 }; 84 + MODULE_DEVICE_TABLE(of, apss_ipq_pll_match_table); 84 85 85 86 static struct platform_driver apss_ipq_pll_driver = { 86 87 .probe = apss_ipq_pll_probe,