[PATCH] uml: console locking commentary and code cleanup
commitd5c9ffc6c6d15d4f655236e26942a21ad61fe3ad
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:08 +0000 (10 01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000 (11 10:51 -0800)
tree0fda7f4a171461ab95bb424f158949d53f223920
parentb4ac91a0eac36f347a509afda07e4305e931de61
[PATCH] uml: console locking commentary and code cleanup

Remove the last vestiges of devfs from console registration.  Change the name
of the function, plus remove a couple of unused fields from the line_driver
structure.

struct lines is no longer needed, all traces of it are gone.

The only way that I can see to mark a structure as being almost-const is to
individually const the fields.  This is the case for the line_driver
structure, which has only one modifiable field - a list_head in a
sub-structure.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/line.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/include/line.h