Skip to content

Commit

Permalink
proper prototype for vty_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 6, 2008
1 parent 7747cdb commit 2646437
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -4048,10 +4048,6 @@ void __init console_init(void)
}
}

#ifdef CONFIG_VT
extern int vty_init(void);
#endif

static int __init tty_class_init(void)
{
tty_class = class_create(THIS_MODULE, "tty");
Expand Down
1 change: 1 addition & 0 deletions include/linux/vt_kern.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ void change_console(struct vc_data *new_vc);
void reset_vc(struct vc_data *vc);
extern int unbind_con_driver(const struct consw *csw, int first, int last,
int deflt);
int vty_init(void);

/*
* vc_screen.c shares this temporary buffer with the console write code so that
Expand Down

0 comments on commit 2646437

Please sign in to comment.