[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>
Showing
- arch/um/drivers/line.c 3 additions, 4 deletionsarch/um/drivers/line.c
- arch/um/drivers/ssl.c 7 additions, 9 deletionsarch/um/drivers/ssl.c
- arch/um/drivers/stdio_console.c 7 additions, 10 deletionsarch/um/drivers/stdio_console.c
- arch/um/include/line.h 14 additions, 22 deletionsarch/um/include/line.h
Loading
Please register or sign in to comment