vt: delete unneeded function unregister_con_driver
[firefly-linux-kernel-4.4.55.git] / include / linux / console.h
index 29680a8cda9979a1a717d46afb909b900f5e7ab2..7571a16bd6535245c0fb68cce7e18dd5d21f1fd1 100644 (file)
@@ -75,10 +75,7 @@ extern const struct consw newport_con;       /* SGI Newport console  */
 extern const struct consw prom_con;    /* SPARC PROM console */
 
 int con_is_bound(const struct consw *csw);
-int register_con_driver(const struct consw *csw, int first, int last);
-int unregister_con_driver(const struct consw *csw);
 int do_unregister_con_driver(const struct consw *csw);
-int take_over_console(const struct consw *sw, int first, int last, int deflt);
 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
 void give_up_console(const struct consw *sw);
 #ifdef CONFIG_HW_CONSOLE
@@ -141,6 +138,7 @@ struct console {
        for (con = console_drivers; con != NULL; con = con->next)
 
 extern int console_set_on_cmdline;
+extern struct console *early_console;
 
 extern int add_preferred_console(char *name, int idx, char *options);
 extern int update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options);