Commit 3cb340ecbb010013229ac56f26707252ebed09b8
Committed by
Linus Torvalds
1 parent
48afdf6eb7
Exists in
master
and in
20 other branches
[PATCH] vt: proper prototypes for some console functions
This patch adds proper prototypes to header files for three console init functions used on drivers/char/vt.c Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 3 changed files with 4 additions and 8 deletions Side-by-side Diff
drivers/char/vt.c
... | ... | @@ -139,14 +139,6 @@ |
139 | 139 | extern void vcs_make_sysfs(struct tty_struct *tty); |
140 | 140 | extern void vcs_remove_sysfs(struct tty_struct *tty); |
141 | 141 | |
142 | -extern void console_map_init(void); | |
143 | -#ifdef CONFIG_PROM_CONSOLE | |
144 | -extern void prom_con_init(void); | |
145 | -#endif | |
146 | -#ifdef CONFIG_MDA_CONSOLE | |
147 | -extern int mda_console_init(void); | |
148 | -#endif | |
149 | - | |
150 | 142 | struct vc vc_cons [MAX_NR_CONSOLES]; |
151 | 143 | |
152 | 144 | #ifndef VT_SINGLE_DRIVER |
include/linux/console.h
... | ... | @@ -129,6 +129,9 @@ |
129 | 129 | static inline void resume_console(void) {} |
130 | 130 | #endif /* CONFIG_DISABLE_CONSOLE_SUSPEND */ |
131 | 131 | |
132 | +int mda_console_init(void); | |
133 | +void prom_con_init(void); | |
134 | + | |
132 | 135 | /* Some debug stub to catch some of the obvious races in the VT code */ |
133 | 136 | #if 1 |
134 | 137 | #define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress) |
include/linux/consolemap.h