From: Heiner Kallweit <hkallweit1@gmail.com> Date: Sat, 13 Jan 2024 16:00:11 +0000 (+0100) Subject: leds: trigger: audio: Set module alias for module auto-loading X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cdac0fd2b7654042a80fa63b50f2b2d8ff2bf48c;p=linux.git 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 <hkallweit1@gmail.com> Link: https://lore.kernel.org/r/4663d2d8-660d-4af2-9f65-d95e95263923@gmail.com Signed-off-by: Lee Jones <lee@kernel.org> --- diff --git a/drivers/leds/trigger/ledtrig-audio.c b/drivers/leds/trigger/ledtrig-audio.c index c6b437e6369b8..2ecd4b760fc36 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");