]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc64: fix up hvc console dev/devfs name, from Milton Miller
authorAndrew Morton <akpm@osdl.org>
Thu, 5 Feb 2004 05:18:44 +0000 (21:18 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 5 Feb 2004 05:18:44 +0000 (21:18 -0800)
From: anton@samba.org

fix up hvc console dev/devfs name, from Milton Miller

drivers/char/hvc_console.c

index 530d9067e30059950482969ff097a310e425c148..ede1a22af016ec94c471792ca91bb97ed59922d3 100644 (file)
@@ -268,8 +268,9 @@ int __init hvc_init(void)
                return -ENOMEM;
 
        hvc_driver->owner = THIS_MODULE;
+       hvc_driver->devfs_name = "hvc/";
        hvc_driver->driver_name = "hvc";
-       hvc_driver->name = "hvc/";
+       hvc_driver->name = "hvc";
        hvc_driver->major = HVC_MAJOR;
        hvc_driver->minor_start = HVC_MINOR;
        hvc_driver->type = TTY_DRIVER_TYPE_SYSTEM;