aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2024-01-13 17:00:11 +0100
committerLee Jones <[email protected]>2024-03-07 08:47:59 +0000
commitcdac0fd2b7654042a80fa63b50f2b2d8ff2bf48c (patch)
tree7f11f89c34ddc037ad8831c5265e739881bad794 /drivers
parent96d947d4abb35dffe0d7fd02c735b88632819b6e (diff)
leds: trigger: audio: Set module alias for module auto-loading
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/trigger/ledtrig-audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/leds/trigger/ledtrig-audio.c b/drivers/leds/trigger/ledtrig-audio.c
index c6b437e6369b..2ecd4b760fc3 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");