diff mbox series

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

Message ID 4663d2d8-660d-4af2-9f65-d95e95263923@gmail.com
State Superseded
Headers show
Series leds: trigger: audio: Set module alias for module auto-loading | expand

Commit Message

Heiner Kallweit Jan. 13, 2024, 4 p.m. UTC
This a follow-up to 5edf7f11313d ("leds: trigger: Load trigger modules
on-demand if used as default trigger") and sets an alias for the audio
triggers.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/leds/trigger/ledtrig-audio.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Lee Jones Jan. 25, 2024, 1:05 p.m. UTC | #1
On Sat, 13 Jan 2024 17:00:11 +0100, Heiner Kallweit wrote:
> This a follow-up to 5edf7f11313d ("leds: trigger: Load trigger modules
> on-demand if used as default trigger") and sets an alias for the audio
> triggers.
> 
> 

Applied, thanks!

[1/1] leds: trigger: audio: Set module alias for module auto-loading
      commit: de330a3521108011b390bd130a27b1486b9078cd

--
Lee Jones [李琼斯]
diff mbox series

Patch

diff --git a/drivers/leds/trigger/ledtrig-audio.c b/drivers/leds/trigger/ledtrig-audio.c
index c6b437e63..2ecd4b760 100644
--- a/drivers/leds/trigger/ledtrig-audio.c
+++ b/drivers/leds/trigger/ledtrig-audio.c
@@ -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");