Skip to contentSkip to conversation

leds: trigger: audio: Set module alias for module auto-loading

PATCH In review Heiner Kallweit 2 participants 3 messages Jan 15, 2024 – Jan 16, 2024 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: trigger: audio: Set module alias for module auto-loading

Few drivers (e.g. under platform/x86) have these triggers as default trigger. So add alias information to allow module auto-loading.

---
 drivers/leds/trigger/ledtrig-audio.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/leds/trigger/ledtrig-audio.c +2 -0
index c6b437e63..2ecd4b760 100644
@@ -63,3 +63,5 @@ module_exit(ledtrig_audio_exit);
 
 MODULE_DESCRIPTION("LED trigger for audio mute control");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("ledtrig:audio-mute");
+MODULE_ALIAS("ledtrig:audio-micmute");
Signature · 1 line
2.43.0
#1 lore raw
Quoted 6 lines · Heiner Kallweit

Few drivers (e.g. under platform/x86) have these triggers as default trigger. So add alias information to allow module auto-loading.

---
 drivers/leds/trigger/ledtrig-audio.c | 2 ++

You already sent it few days ago, so:
1. This is v2 (missing proper patch prefix)
2. You need changelog under ---.

Best regards,
Krzysztof

#2 lore raw
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Heiner Kallweit

Few drivers (e.g. under platform/x86) have these triggers as default trigger. So add alias information to allow module auto-loading.

Quoted 8 lines
Quoted 3 lines
---
 drivers/leds/trigger/ledtrig-audio.c | 2 ++

You already sent it few days ago, so:
1. This is v2 (missing proper patch prefix)
2. You need changelog under ---.

Oh, indeed. My bad. There's no change, so please disregard the resubmit.

Quoted 3 lines

Best regards,
Krzysztof

Heiner