From 9827e32e4d8ed9932de5ad80928dee40d1311092 Mon Sep 17 00:00:00 2001 From: gagachang Date: Sat, 21 Aug 2021 14:51:37 +0800 Subject: [PATCH] Update some file path to kernel v5.x+ in example/kbleds.c 1. drivers/char/vt_ioctl.c -> drivers/tty/vt/vt_ioctl.c 2. drivers/char/keyboard.c -> drivers/tty/vt/keyboard.c --- examples/kbleds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/kbleds.c b/examples/kbleds.c index 1573b10..d02335e 100644 --- a/examples/kbleds.c +++ b/examples/kbleds.c @@ -24,13 +24,13 @@ char kbledstatus = 0; /* Function my_timer_func blinks the keyboard LEDs periodically by invoking * command KDSETLED of ioctl() on the keyboard driver. To learn more on virtual * terminal ioctl operations, please see file: - * drivers/char/vt_ioctl.c, function vt_ioctl(). + * drivers/tty/vt/vt_ioctl.c, function vt_ioctl(). * * The argument to KDSETLED is alternatively set to 7 (thus causing the led * mode to be set to LED_SHOW_IOCTL, and all the leds are lit) and to 0xFF * (any value above 7 switches back the led mode to LED_SHOW_FLAGS, thus * the LEDs reflect the actual keyboard status). To learn more on this, - * please see file: drivers/char/keyboard.c, function setledstate(). + * please see file: drivers/tty/vt/keyboard.c, function setledstate(). */ static void my_timer_func(unsigned long ptr)