diff mbox series

[2/2] leds: trigger: netdev: Add module alias ledtrig:netdev

Message ID 84a1bbd3-1ac7-4f37-849a-7f4d31698f76@gmail.com
State New
Headers show
Series leds: trigger: load trigger modules on-demand if used as default trigger | expand

Commit Message

Heiner Kallweit Dec. 21, 2023, 10:20 p.m. UTC
Add module alias ledtrig:netdev to enable auto-loading of the module.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/leds/trigger/ledtrig-netdev.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/leds/trigger/ledtrig-netdev.c b/drivers/leds/trigger/ledtrig-netdev.c
index 6cbba44dd..2df77825a 100644
--- a/drivers/leds/trigger/ledtrig-netdev.c
+++ b/drivers/leds/trigger/ledtrig-netdev.c
@@ -651,3 +651,4 @@  MODULE_AUTHOR("Ben Whitten <ben.whitten@gmail.com>");
 MODULE_AUTHOR("Oliver Jowett <oliver@opencloud.com>");
 MODULE_DESCRIPTION("Netdev LED trigger");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("ledtrig:netdev");