Signed-off-by: kernel test robot <lkp@xxxxxxxxx> --- ledtrig-tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/trigger/ledtrig-tty.c b/drivers/leds/trigger/ledtrig-tty.c index 806548e33cd874..09cba818fb65c7 100644 --- a/drivers/leds/trigger/ledtrig-tty.c +++ b/drivers/leds/trigger/ledtrig-tty.c @@ -174,7 +174,7 @@ static void ledtrig_tty_deactivate(struct led_classdev *led_cdev) kfree(trigger_data); } -struct led_trigger ledtrig_tty = { +static struct led_trigger ledtrig_tty = { .name = "tty", .activate = ledtrig_tty_activate, .deactivate = ledtrig_tty_deactivate,