Skip to contentSkip to conversation

Fix devfs name for the hvcs driver

PATCH New Paul Mackerras 1 participant 1 message Feb 4, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix devfs name for the hvcs driver

This patch is from Jimi Xenidis <[email protected]>.

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

drivers/char/hvcs.c +1 -0
@@ -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