Commit a22744b1 authored by Linus Torvalds's avatar Linus Torvalds

Call con_init_devfs() to initialize VT subsystem for devfs.

parent f985b1cd
...@@ -150,6 +150,7 @@ static void set_cursor(int currcons); ...@@ -150,6 +150,7 @@ static void set_cursor(int currcons);
static void hide_cursor(int currcons); static void hide_cursor(int currcons);
static void unblank_screen_t(unsigned long dummy); static void unblank_screen_t(unsigned long dummy);
static void console_callback(void *ignored); static void console_callback(void *ignored);
static void __init con_init_devfs (void);
static int printable; /* Is console ready for printing? */ static int printable; /* Is console ready for printing? */
...@@ -2526,6 +2527,7 @@ int __init vty_init(void) ...@@ -2526,6 +2527,7 @@ int __init vty_init(void)
kbd_init(); kbd_init();
console_map_init(); console_map_init();
con_init_devfs();
vcs_init(); vcs_init();
return 0; return 0;
} }
...@@ -2624,7 +2626,7 @@ static void set_vesa_blanking(unsigned long arg) ...@@ -2624,7 +2626,7 @@ static void set_vesa_blanking(unsigned long arg)
* is called before kmalloc() works. This function is called later to * is called before kmalloc() works. This function is called later to
* do the registration. * do the registration.
*/ */
void __init con_init_devfs (void) static void __init con_init_devfs (void)
{ {
int i; int i;
......
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