Skip to contentSkip to conversation

counter: ftm-quaddec: Enable module autoloading

PATCH Applied Liao Chen 2 participants 2 messages Sep 2, 2024 – Sep 7, 2024

Subsystems (3)
lore
Share & tools
lore

Liao Chen

author
#0 lore raw

PATCH 1/1 counter: ftm-quaddec: Enable module autoloading

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

---
 drivers/counter/ftm-quaddec.c | 1 +
 1 file changed, 1 insertion(+)
drivers/counter/ftm-quaddec.c +1 -0
index 200876f3ec04..6ac4efb5658b 100644
@@ -311,6 +311,7 @@ static const struct of_device_id ftm_quaddec_match[] = {
 	{ .compatible = "fsl,ftm-quaddec" },
 	{},
 };
+MODULE_DEVICE_TABLE(of, ftm_quaddec_match);
 
 static struct platform_driver ftm_quaddec_driver = {
 	.driver = {
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Liao Chen

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

Applied, thanks!

[1/1] counter: ftm-quaddec: Enable module autoloading

      commit: 0d0f611bdf8e1d06df7ecb44b424a6fb093e2efc

Best regards,

Signature · 1 line
William Breathitt Gray <[email protected]>