Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: qcom-refgen: fix module autoloading
@ 2024-04-10 17:26 Krzysztof Kozlowski
  2024-04-10 17:26 ` [PATCH 2/2] regulator: vqmmc-ipq4019: " Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:26 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Liam Girdwood, Mark Brown,
	Robert Marko, Luka Perkov, linux-arm-msm, linux-kernel
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/regulator/qcom-refgen-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/qcom-refgen-regulator.c b/drivers/regulator/qcom-refgen-regulator.c
index 656fe330d38f..063e12c08e75 100644
--- a/drivers/regulator/qcom-refgen-regulator.c
+++ b/drivers/regulator/qcom-refgen-regulator.c
@@ -140,6 +140,7 @@ static const struct of_device_id qcom_refgen_match_table[] = {
 	{ .compatible = "qcom,sm8250-refgen-regulator", .data = &sm8250_refgen_desc },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, qcom_refgen_match_table);
 
 static struct platform_driver qcom_refgen_driver = {
 	.probe = qcom_refgen_probe,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-10 20:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 17:26 [PATCH 1/2] regulator: qcom-refgen: fix module autoloading Krzysztof Kozlowski
2024-04-10 17:26 ` [PATCH 2/2] regulator: vqmmc-ipq4019: " Krzysztof Kozlowski
2024-04-10 17:39   ` Konrad Dybcio
2024-04-10 17:39 ` [PATCH 1/2] regulator: qcom-refgen: " Konrad Dybcio
2024-04-10 20:23 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox