Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

proper prototype for vty_init()



Add a proper prototype for vty_init() in include/linux/vt_kern.h

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7747cdb2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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");
+1 −0
Original line number Diff line number Diff line
@@ -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