Merge pull request #218 from linD026/master

kbleds: Replace magic with driver_name
This commit is contained in:
Jim Huang 2023-08-10 09:32:45 +08:00 committed by GitHub
commit 1ab94aa6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ static int __init kbleds_init(void)
pr_info("kbleds: finished scanning consoles\n");
my_driver = vc_cons[fg_console].d->port.tty->driver;
pr_info("kbleds: tty driver magic %x\n", my_driver->magic);
pr_info("kbleds: tty driver name %s\n", my_driver->driver_name);
/* Set up the LED blink timer the first time. */
timer_setup(&my_timer, my_timer_func, 0);