diff mbox series

leds: triggers: default-on: Add module alias for module auto-loading

Message ID 7e94d26b-d772-4a07-b0f6-bb3111b9ff75@gmail.com
State New
Headers show
Series leds: triggers: default-on: Add module alias for module auto-loading | expand

Commit Message

Heiner Kallweit Jan. 15, 2024, 9:46 p.m. UTC
A bigger number of board device tree files, plus few drivers, set
default-on as default trigger for LED's. Therefore add an alias for
module auto-loading.

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

Comments

Lee Jones Jan. 25, 2024, 1:24 p.m. UTC | #1
On Mon, 15 Jan 2024 22:46:23 +0100, Heiner Kallweit wrote:
> A bigger number of board device tree files, plus few drivers, set
> default-on as default trigger for LED's. Therefore add an alias for
> module auto-loading.
> 
> 

Applied, thanks!

[1/1] leds: triggers: default-on: Add module alias for module auto-loading
      commit: 9458344867e19e3adc2a1de2ec82345ebaba8786

--
Lee Jones [李琼斯]
diff mbox series

Patch

diff --git a/drivers/leds/trigger/ledtrig-default-on.c b/drivers/leds/trigger/ledtrig-default-on.c
index 8207f85ec..8678e64a5 100644
--- a/drivers/leds/trigger/ledtrig-default-on.c
+++ b/drivers/leds/trigger/ledtrig-default-on.c
@@ -28,3 +28,4 @@  module_led_trigger(defon_led_trigger);
 MODULE_AUTHOR("Nick Forbes <nick.forbes@incepta.com>");
 MODULE_DESCRIPTION("Default-ON LED trigger");
 MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("ledtrig:default-on");