Re: [PATCH] TTY changes for 2.5.69

Greg KH (greg@kroah.com)
Wed, 7 May 2003 16:16:28 -0700


ChangeSet 1.1109, 2003/05/07 15:01:22-07:00, hannal@us.ibm.com

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

drivers/char/dz.c | 1 +
1 files changed, 1 insertion(+)

diff -Nru a/drivers/char/dz.c b/drivers/char/dz.c
--- a/drivers/char/dz.c Wed May 7 16:00:30 2003
+++ b/drivers/char/dz.c Wed May 7 16:00:30 2003
@@ -1332,6 +1332,7 @@

memset(&serial_driver, 0, sizeof(struct tty_driver));
serial_driver.magic = TTY_DRIVER_MAGIC;
+ serial_driver.owner = THIS_MODULE;
#if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
serial_driver.name = "ttyS";
#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/