Commit 3cb340ec authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[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: default avatarAdrian Bunk <>
Signed-off-by: default avatarAntonino Daplas <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 48afdf6e
......@@ -139,14 +139,6 @@ const struct consw *conswitchp;
extern void vcs_make_sysfs(struct tty_struct *tty);
extern void vcs_remove_sysfs(struct tty_struct *tty);
extern void console_map_init(void);
extern void prom_con_init(void);
extern int mda_console_init(void);
struct vc vc_cons [MAX_NR_CONSOLES];
......@@ -129,6 +129,9 @@ static inline void suspend_console(void) {}
static inline void resume_console(void) {}
int mda_console_init(void);
void prom_con_init(void);
/* Some debug stub to catch some of the obvious races in the VT code */
#if 1
#define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress)
......@@ -13,3 +13,4 @@ struct vc_data;
extern unsigned char inverse_translate(struct vc_data *conp, int glyph);
extern unsigned short *set_translate(int m, struct vc_data *vc);
extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
void console_map_init(void);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment