diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 04:36:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:03 -0500 |
commit | 26464378c4af9f7461b9d9e359f98dbd34ab3544 (patch) | |
tree | 0b30d044efb49eac5b6899cbc62beaeaf4296596 | |
parent | 7747cdb2f8302c2e1121f6d604b62a060fb04603 (diff) |
proper prototype for vty_init()
Add a proper prototype for vty_init() in include/linux/vt_kern.h
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/char/tty_io.c | 4 | ||||
-rw-r--r-- | include/linux/vt_kern.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index f36fecd3fd26..c927f42c8e4d 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -4048,10 +4048,6 @@ void __init console_init(void) | |||
4048 | } | 4048 | } |
4049 | } | 4049 | } |
4050 | 4050 | ||
4051 | #ifdef CONFIG_VT | ||
4052 | extern int vty_init(void); | ||
4053 | #endif | ||
4054 | |||
4055 | static int __init tty_class_init(void) | 4051 | static int __init tty_class_init(void) |
4056 | { | 4052 | { |
4057 | tty_class = class_create(THIS_MODULE, "tty"); | 4053 | tty_class = class_create(THIS_MODULE, "tty"); |
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index feb5e99a1079..9448ffbdcbf6 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h | |||
@@ -77,6 +77,7 @@ void change_console(struct vc_data *new_vc); | |||
77 | void reset_vc(struct vc_data *vc); | 77 | void reset_vc(struct vc_data *vc); |
78 | extern int unbind_con_driver(const struct consw *csw, int first, int last, | 78 | extern int unbind_con_driver(const struct consw *csw, int first, int last, |
79 | int deflt); | 79 | int deflt); |
80 | int vty_init(void); | ||
80 | 81 | ||
81 | /* | 82 | /* |
82 | * vc_screen.c shares this temporary buffer with the console write code so that | 83 | * vc_screen.c shares this temporary buffer with the console write code so that |