lkml.org 
[lkml]   [2005]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Remove the line_driver devfs_name field as it's no longer needed
Date
From

Also fixes all drivers that set this field.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
arch/um/drivers/line.c | 1 -
arch/um/drivers/ssl.c | 1 -
arch/um/drivers/stdio_console.c | 1 -
arch/um/include/line.h | 1 -
4 files changed, 4 deletions(-)

--- gregkh-2.6.orig/arch/um/drivers/line.c 2005-06-10 23:37:21.000000000 -0700
+++ gregkh-2.6/arch/um/drivers/line.c 2005-06-10 23:37:24.000000000 -0700
@@ -624,7 +624,6 @@

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;
--- gregkh-2.6.orig/arch/um/drivers/ssl.c 2005-06-10 23:28:57.000000000 -0700
+++ gregkh-2.6/arch/um/drivers/ssl.c 2005-06-10 23:37:24.000000000 -0700
@@ -54,7 +54,6 @@
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,
--- gregkh-2.6.orig/arch/um/drivers/stdio_console.c 2005-06-10 23:28:57.000000000 -0700
+++ gregkh-2.6/arch/um/drivers/stdio_console.c 2005-06-10 23:37:24.000000000 -0700
@@ -60,7 +60,6 @@
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,
--- gregkh-2.6.orig/arch/um/include/line.h 2005-06-10 23:28:57.000000000 -0700
+++ gregkh-2.6/arch/um/include/line.h 2005-06-10 23:37:24.000000000 -0700
@@ -17,7 +17,6 @@
struct line_driver {
char *name;
char *device_name;
- char *devfs_name;
short major;
short minor_start;
short type;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-11 10:42    [W:0.058 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site