2006-12-29 23:46:52

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 3/6] UML - Console whitespace and comment tidying

Some comment and whitespace cleanups in the console and mconsole code.

Signed-off-by: Jeff Dike <[email protected]>

--
arch/um/drivers/stdio_console.c | 2 --
arch/um/include/mconsole_kern.h | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)


Index: linux-2.6.18-mm/arch/um/drivers/stdio_console.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/drivers/stdio_console.c 2006-12-29 17:26:54.000000000 -0500
+++ linux-2.6.18-mm/arch/um/drivers/stdio_console.c 2006-12-29 18:20:43.000000000 -0500
@@ -30,8 +30,6 @@

#define MAX_TTYS (16)

-/* ----------------------------------------------------------------------------- */
-
/* Referenced only by tty_driver below - presumably it's locked correctly
* by the tty driver.
*/
Index: linux-2.6.18-mm/arch/um/include/mconsole_kern.h
===================================================================
--- linux-2.6.18-mm.orig/arch/um/include/mconsole_kern.h 2006-12-29 17:26:54.000000000 -0500
+++ linux-2.6.18-mm/arch/um/include/mconsole_kern.h 2006-12-29 18:21:37.000000000 -0500
@@ -20,7 +20,7 @@ struct mc_device {
char *name;
int (*config)(char *, char **);
int (*get_config)(char *, char *, int, char **);
- int (*id)(char **, int *, int *);
+ int (*id)(char **, int *, int *);
int (*remove)(int, char **);
};