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

clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE

CONFIG_QCOM_A7PLL 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: 5a5223ffd7ef ("clk: qcom: Add A7 PLL support")
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-2-clare.chenhui@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Chen Hui and committed by
Stephen Boyd
77a618b1 886fd9a4

+1
+1
drivers/clk/qcom/a7-pll.c
··· 86 86 { .compatible = "qcom,sdx55-a7pll" }, 87 87 { } 88 88 }; 89 + MODULE_DEVICE_TABLE(of, qcom_a7pll_match_table); 89 90 90 91 static struct platform_driver qcom_a7pll_driver = { 91 92 .probe = qcom_a7pll_probe,