Skip to contentSkip to conversation

pinctrl: realtek: fix module autoloading

PATCH New Liao Chen 1 participant 1 message Aug 20, 2024

Subsystems (3)
lore
Share & tools
lore

Liao Chen

author
#0 lore raw

PATCH 1/1 pinctrl: realtek: fix module autoloading

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

---
 drivers/pinctrl/realtek/pinctrl-rtd1619b.c | 1 +
 1 file changed, 1 insertion(+)
drivers/pinctrl/realtek/pinctrl-rtd1619b.c +1 -0
index b07e50d6356d..e03e1fb09899 100644
@@ -1575,6 +1575,7 @@ static const struct of_device_id rtd1619b_pinctrl_of_match[] = {
 	{ .compatible = "realtek,rtd1619b-pinctrl", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, rtd1619b_pinctrl_of_match);
 
 static struct platform_driver rtd1619b_pinctrl_driver = {
 	.driver = {
Signature · 1 line
2.34.1