summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 01:43:54 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:21 -0800
commit894be2a485b75bce9a4d45d3e431aafd4c89f1ea (patch)
tree073dbadf143ef4bd034555036def355075fef521 /arch/um
parentf28169d2000177e8b72ccc6d72887be779dceca8 (diff)
[PATCH] uml: console whitespace and comment tidying
Some comment and whitespace cleanups in the console and mconsole code. 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>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/stdio_console.c2
-rw-r--r--arch/um/include/mconsole_kern.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c
index 3cbfe3a8860..0b1bca49804 100644
--- a/arch/um/drivers/stdio_console.c
+++ b/arch/um/drivers/stdio_console.c
@@ -30,8 +30,6 @@
#define MAX_TTYS (16)
-/* ----------------------------------------------------------------------------- */
-
/* Referenced only by tty_driver below - presumably it's locked correctly
* by the tty driver.
*/
diff --git a/arch/um/include/mconsole_kern.h b/arch/um/include/mconsole_kern.h
index 73030e52b2c..d2fe07e7895 100644
--- a/arch/um/include/mconsole_kern.h
+++ b/arch/um/include/mconsole_kern.h
@@ -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 **);
};