Skip to contentSkip to conversation

gpio: crystalcove: add missing MODULE_ALIAS()

PATCH In review Dmitry Torokhov 3 participants 3 messages Sep 5 – Sep 6

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: crystalcove: add missing MODULE_ALIAS()

The crystalcove GPIO driver lacks a MODULE_ALIAS() to allow it to be auto-loaded.

Fix this by adding the missing platform alias.

Fixes 104fb1d5153c ("gpio: Add support for Intel Crystal Cove PMIC")
Assisted-by LLM
---
 drivers/gpio/gpio-crystalcove.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-crystalcove.c +1 -0
index 0fb5c06d0886..ab7fab5b9754 100644
@@ -396,3 +396,4 @@ module_platform_driver(crystalcove_gpio_driver);
 MODULE_AUTHOR("Yang, Bin <[email protected]>");
 MODULE_DESCRIPTION("Intel Crystal Cove GPIO Driver");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:crystal_cove_gpio");
Signature · 5 lines
2.55.0.979.g7e5102b832-goog


-- 
Dmitry
#2 lore raw
In reply to Dmitry Torokhov
Quoted 4 lines · Dmitry Torokhov

The crystalcove GPIO driver lacks a MODULE_ALIAS() to allow it to be auto-loaded.

Fix this by adding the missing platform alias.

Pushed to my review and testing queue, thanks!

Signature · 2 lines
With Best Regards,
Andy Shevchenko