Commit d7a221c6 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] vt tty_driver add .owner field

From:  Hanna Linder <hannal@us.ibm.com>
parent c9d1f9b9
...@@ -2502,6 +2502,7 @@ int __init vty_init(void) ...@@ -2502,6 +2502,7 @@ int __init vty_init(void)
{ {
memset(&console_driver, 0, sizeof(struct tty_driver)); memset(&console_driver, 0, sizeof(struct tty_driver));
console_driver.magic = TTY_DRIVER_MAGIC; console_driver.magic = TTY_DRIVER_MAGIC;
console_driver.owner = THIS_MODULE;
console_driver.name = "vc/%d"; console_driver.name = "vc/%d";
console_driver.name_base = 1; console_driver.name_base = 1;
console_driver.major = TTY_MAJOR; console_driver.major = TTY_MAJOR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment