* [PATCH] Fix devfs name for the hvcs driver
@ 2005-02-04 10:15 Paul Mackerras
0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2005-02-04 10:15 UTC (permalink / raw)
To: akpm; +Cc: jimix, anton, torvalds, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-04 10:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-04 10:15 [PATCH] Fix devfs name for the hvcs driver Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®