diff mbox series

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

Message ID 4574bfb1-5156-46d4-90f5-4d6477b248b8@gmail.com
State New
Headers show
Series leds: trigger: audio: Set module alias for module auto-loading | expand

Commit Message

Heiner Kallweit Jan. 15, 2024, 9:36 p.m. UTC
Few drivers (e.g. under platform/x86) have these triggers as default
trigger. So add alias information to allow module auto-loading.

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