]> err.no Git - linux-2.6/commitdiff
[PATCH] devfs: Remove the line_driver devfs_name field as it's no longer needed
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Jun 2005 04:15:16 +0000 (21:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Jun 2006 19:25:09 +0000 (12:25 -0700)
Also fixes all drivers that set this field.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/drivers/line.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/include/line.h

index ee1fe6a249055f631e2d0969dbb4f5e8982471d4..5ca57ca337136034799e3dad4df7d733802dc4bc 100644 (file)
@@ -654,7 +654,6 @@ struct tty_driver *line_register_devfs(struct lines *set,
 
        driver->driver_name = line_driver->name;
        driver->name = line_driver->device_name;
-       driver->devfs_name = line_driver->devfs_name;
        driver->major = line_driver->major;
        driver->minor_start = line_driver->minor_start;
        driver->type = line_driver->type;
index a4d6415bc8c4820340a299a58e7b340ee33cbcf0..6dafd6fbfdaed13be0f48424f1e811fd24955b89 100644 (file)
@@ -54,7 +54,6 @@ static int ssl_remove(int n);
 static struct line_driver driver = {
        .name                   = "UML serial line",
        .device_name            = "ttyS",
-       .devfs_name             = "tts/",
        .major                  = TTY_MAJOR,
        .minor_start            = 64,
        .type                   = TTY_DRIVER_TYPE_SERIAL,
index 61db8b2fc83f5780624a92e2510812db891dd36e..856f568c2687fd485a111d2f68843bb3918ac7dc 100644 (file)
@@ -60,7 +60,6 @@ static int con_remove(int n);
 static struct line_driver driver = {
        .name                   = "UML console",
        .device_name            = "tty",
-       .devfs_name             = "vc/",
        .major                  = TTY_MAJOR,
        .minor_start            = 0,
        .type                   = TTY_DRIVER_TYPE_CONSOLE,
index 6ac0f8252e21e3dfdf55d359c0d46c8f7dbc069a..27bf2f6fbc05a60d398cb9b2b8ef0a51605711b2 100644 (file)
@@ -17,7 +17,6 @@
 struct line_driver {
        char *name;
        char *device_name;
-       char *devfs_name;
        short major;
        short minor_start;
        short type;