summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Xenidis <jimix@watson.ibm.com>2005-02-04 03:16:18 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-04 03:16:18 -0800
commit14d23203572b7dd595db73df58dc0cb818a9537e (patch)
tree626119ff89d75c13fb815d2557cc767c2c5f7240
parentbd1b26d8b9bb8fd8dff5f4daea014b48516168e1 (diff)
[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: Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/char/hvcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c
index 0d01151999a0..abfbdcfd4e72 100644
--- a/drivers/char/hvcs.c
+++ b/drivers/char/hvcs.c
@@ -1363,6 +1363,7 @@ static int __init hvcs_module_init(void)
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