direct-io.hg

changeset 8367:7ef59d40c26a

Give the xencons tty driver a proper name.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Dec 14 19:41:06 2005 +0100 (2005-12-14)
parents c9929c7c63f6
children 50640456147b
files linux-2.6-xen-sparse/drivers/xen/console/console.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/console/console.c	Wed Dec 14 19:35:38 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c	Wed Dec 14 19:41:06 2005 +0100
     1.3 @@ -628,6 +628,7 @@ static int __init xencons_init(void)
     1.4  	if (xencons_driver == NULL)
     1.5  		return -ENOMEM;
     1.6  
     1.7 +	DRV(xencons_driver)->name            = "xencons";
     1.8  	DRV(xencons_driver)->major           = TTY_MAJOR;
     1.9  	DRV(xencons_driver)->type            = TTY_DRIVER_TYPE_SERIAL;
    1.10  	DRV(xencons_driver)->subtype         = SERIAL_TYPE_NORMAL;