Commit 3c6c475e authored by Hanna V. Linder's avatar Hanna V. Linder Committed by Greg Kroah-Hartman

[PATCH] serial167 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT

parent c9e3a3f9
...@@ -2395,6 +2395,7 @@ scrn[1] = '\0'; ...@@ -2395,6 +2395,7 @@ scrn[1] = '\0';
memset(&cy_serial_driver, 0, sizeof(struct tty_driver)); memset(&cy_serial_driver, 0, sizeof(struct tty_driver));
cy_serial_driver.magic = TTY_DRIVER_MAGIC; cy_serial_driver.magic = TTY_DRIVER_MAGIC;
cy_serial_driver.owner = THIS_MODULE;
#ifdef CONFIG_DEVFS_FS #ifdef CONFIG_DEVFS_FS
cy_serial_driver.name = "tts/"; cy_serial_driver.name = "tts/";
#else #else
......
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