[PATCH] serial167 tty_driver add .owner field remove MOD_INC/DEC_USE_COUNT
drivers/char/serial167.c | 1 +
1 files changed, 1 insertion(+)
diff -Nru a/drivers/char/serial167.c b/drivers/char/serial167.c
--- a/drivers/char/serial167.c Wed May 7 16:01:27 2003
+++ b/drivers/char/serial167.c Wed May 7 16:01:27 2003
@@ -2395,6 +2395,7 @@
memset(&cy_serial_driver, 0, sizeof(struct tty_driver));
cy_serial_driver.magic = TTY_DRIVER_MAGIC;
+ cy_serial_driver.owner = THIS_MODULE;
#ifdef CONFIG_DEVFS_FS
cy_serial_driver.name = "tts/";
#else
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/