[PATCH v2] leds: upboard: fix module alias

Thomas Richard posted 1 patch 3 months, 2 weeks ago
drivers/leds/leds-upboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] leds: upboard: fix module alias
Posted by Thomas Richard 3 months, 2 weeks ago
The module alias does not match the cell name defined in the MFD driver,
preventing automatic loading when the driver is built as a module. So fix
the module alias to ensure proper module auto-loading.

Fixes: 0ef2929a0181 ("leds: Add AAEON UP board LED driver")
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Changes in v2:
- Improve commit message.
- Link to v1: https://lore.kernel.org/r/20251016-leds-upboard-fix-module-alias-v1-1-be63bafcf250@bootlin.com
---
 drivers/leds/leds-upboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-upboard.c b/drivers/leds/leds-upboard.c
index b350eb294280fd68535c47843417f4282f97b423..12989b2f195309cc930095ecc5f855065e88d9aa 100644
--- a/drivers/leds/leds-upboard.c
+++ b/drivers/leds/leds-upboard.c
@@ -123,4 +123,4 @@ MODULE_AUTHOR("Gary Wang <garywang@aaeon.com.tw>");
 MODULE_AUTHOR("Thomas Richard <thomas.richard@bootlin.com>");
 MODULE_DESCRIPTION("UP Board LED driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:upboard-led");
+MODULE_ALIAS("platform:upboard-leds");

---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251016-leds-upboard-fix-module-alias-194508af3111

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>
Re: (subset) [PATCH v2] leds: upboard: fix module alias
Posted by Lee Jones 3 months, 2 weeks ago
On Mon, 20 Oct 2025 17:36:25 +0200, Thomas Richard wrote:
> The module alias does not match the cell name defined in the MFD driver,
> preventing automatic loading when the driver is built as a module. So fix
> the module alias to ensure proper module auto-loading.
> 
> 

Applied, thanks!

[1/1] leds: upboard: fix module alias
      commit: c06a017439110debd335b6864bc2d69835624235

--
Lee Jones [李琼斯]

Re: [PATCH v2] leds: upboard: fix module alias
Posted by Krzysztof Kozlowski 3 months, 2 weeks ago
On 20/10/2025 17:36, Thomas Richard wrote:
> The module alias does not match the cell name defined in the MFD driver,
> preventing automatic loading when the driver is built as a module. So fix
> the module alias to ensure proper module auto-loading.
> 
> Fixes: 0ef2929a0181 ("leds: Add AAEON UP board LED driver")
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof