Commit 126582e2 authored by Hanna V. Linder's avatar Hanna V. Linder Committed by Greg Kroah-Hartman

[PATCH] sgi/char/sgiserial tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT

parent 5f1f7d94
...@@ -1867,6 +1867,7 @@ int rs_init(void) ...@@ -1867,6 +1867,7 @@ int rs_init(void)
memset(&serial_driver, 0, sizeof(struct tty_driver)); memset(&serial_driver, 0, sizeof(struct tty_driver));
serial_driver.magic = TTY_DRIVER_MAGIC; serial_driver.magic = TTY_DRIVER_MAGIC;
serial_driver.owner = THIS_MODULE;
serial_driver.name = "ttyS"; serial_driver.name = "ttyS";
serial_driver.major = TTY_MAJOR; serial_driver.major = TTY_MAJOR;
serial_driver.minor_start = 64; serial_driver.minor_start = 64;
......
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