Messages in this thread Patch in this message | | | Date | Fri, 4 Feb 2005 21:15:37 +1100 | From | Paul Mackerras <> | Subject | [PATCH] Fix devfs name for the hvcs driver |
| |
This patch is from Jimi Xenidis <jimix@watson.ibm.com>.
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@watson.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
--- 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 - 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/
| |