[PATCH] Fix devfs name for the hvcs driver

From: Paul Mackerras
Date: Fri Feb 04 2005 - 05:23:39 EST


This patch is from Jimi Xenidis <jimix@xxxxxxxxxxxxxx>.

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@xxxxxxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/