diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-01-13 17:00:11 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-03-07 08:47:59 +0000 |
commit | cdac0fd2b7654042a80fa63b50f2b2d8ff2bf48c (patch) | |
tree | 7f11f89c34ddc037ad8831c5265e739881bad794 /drivers/leds | |
parent | 96d947d4abb35dffe0d7fd02c735b88632819b6e (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 <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/4663d2d8-660d-4af2-9f65-d95e95263923@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/trigger/ledtrig-audio.c | 2 |
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"); |