Commit 14d23203 authored by Jimi Xenidis's avatar Jimi Xenidis Committed by Linus Torvalds

[PATCH] Fix devfs name for the hvcs driver

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: default avatarJimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bd1b26d8
...@@ -1363,6 +1363,7 @@ static int __init hvcs_module_init(void) ...@@ -1363,6 +1363,7 @@ static int __init hvcs_module_init(void)
hvcs_tty_driver->driver_name = hvcs_driver_name; hvcs_tty_driver->driver_name = hvcs_driver_name;
hvcs_tty_driver->name = hvcs_device_node; 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 * We'll let the system assign us a major number, indicated by leaving
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment