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

[PATCH] [PATCH 2.5.63] pty tty_driver add .owner field remove MOD_INC_DEC_USE_COUNT

From:  Hanna Linder <hannal@us.ibm.com>
parent 285d681c
...@@ -362,6 +362,7 @@ int __init pty_init(void) ...@@ -362,6 +362,7 @@ int __init pty_init(void)
init_waitqueue_head(&pty_state[i].open_wait); init_waitqueue_head(&pty_state[i].open_wait);
memset(&pty_driver, 0, sizeof(struct tty_driver)); memset(&pty_driver, 0, sizeof(struct tty_driver));
pty_driver.magic = TTY_DRIVER_MAGIC; pty_driver.magic = TTY_DRIVER_MAGIC;
pty_driver.owner = THIS_MODULE;
pty_driver.driver_name = "pty_master"; pty_driver.driver_name = "pty_master";
#ifdef CONFIG_DEVFS_FS #ifdef CONFIG_DEVFS_FS
pty_driver.name = "pty/m%d"; pty_driver.name = "pty/m%d";
......
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