[PATCH] drivers/char/hvcs.c and devfs

Jimi Xenidis jimix at watson.ibm.com
Wed Feb 2 06:23:39 EST 2005


The hvcs driver does not register a devfs_name resulting in devfs
creating /dev/<NULL>* entries.
The following one line patch remedies the problem.

Signed-off-by: Jimi Xenidis <jimix at watson.ibm.com>

--- orig/drivers/char/hvcs.c
+++ mod/drivers/char/hvcs.c
@@ -1363,6 +1363,7 @@
 
 	hvcs_tty_driver->driver_name = hvcs_driver_name;
 	hvcs_tty_driver->name = hvcs_device_node;
+	hvcs_tty_driver->devfs_name = hvcs_device_node;
 
 	/*
 	 * We'll let the system assign us a major number, indicated by leaving



More information about the Linuxppc64-dev mailing list