Re: [PATCH] TTY changes for 2.5.69

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


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

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

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

diff -Nru a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
--- a/drivers/char/hvc_console.c Wed May 7 16:00:34 2003
+++ b/drivers/char/hvc_console.c Wed May 7 16:00:34 2003
@@ -257,6 +257,7 @@
memset(&hvc_driver, 0, sizeof(struct tty_driver));

hvc_driver.magic = TTY_DRIVER_MAGIC;
+ hvc_driver.owner = THIS_MODULE;
hvc_driver.driver_name = "hvc";
hvc_driver.name = "hvc/";
hvc_driver.major = HVC_MAJOR;

-
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/