aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Hui <[email protected]>2021-04-09 16:23:50 +0800
committerStephen Boyd <[email protected]>2021-04-09 11:20:52 -0700
commit77a618b1481f6fdb41b7585ed0f67c47fb8401e5 (patch)
treec65ace5faf0cb2b689c68ee6f30247edbcafc408
parent886fd9a4b428650d00d0f38c79fe0c8900426c21 (diff)
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 <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/qcom/a7-pll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/a7-pll.c b/drivers/clk/qcom/a7-pll.c
index e171d3caf2cf..c4a53e5db229 100644
--- a/drivers/clk/qcom/a7-pll.c
+++ b/drivers/clk/qcom/a7-pll.c
@@ -86,6 +86,7 @@ static const struct of_device_id qcom_a7pll_match_table[] = {
{ .compatible = "qcom,sdx55-a7pll" },
{ }
};
+MODULE_DEVICE_TABLE(of, qcom_a7pll_match_table);
static struct platform_driver qcom_a7pll_driver = {
.probe = qcom_a7pll_probe,