summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 10:43:54 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 19:51:21 +0100
commit894be2a485b75bce9a4d45d3e431aafd4c89f1ea (patch)
tree073dbadf143ef4bd034555036def355075fef521 /arch/um
parent[PATCH] uml: return hotplug errors to host (diff)
downloadlinux-894be2a485b75bce9a4d45d3e431aafd4c89f1ea.tar.xz
linux-894be2a485b75bce9a4d45d3e431aafd4c89f1ea.zip
[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 3cbfe3a88607..0b1bca498049 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 73030e52b2ce..d2fe07e78958 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 **);
};