// SPDX-License-Identifier: GPL-2.0-only /* * LED Kernel Default ON Trigger * * Copyright 2008 Nick Forbes <[email protected]> * * Based on Richard Purdie's ledtrig-timer.c. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/leds.h> #include "../leds.h" static int defon_trig_activate(struct led_classdev *led_cdev) { … } static struct led_trigger defon_led_trigger = …; module_led_trigger(…); MODULE_AUTHOR(…) …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …; MODULE_ALIAS(…) …;