summaryrefslogtreecommitdiffstats
path: root/drivers/char/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r--drivers/char/vt.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 12924d2f5..6316be514 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -1188,20 +1188,14 @@ void complete_change_console(unsigned int new_console)
#ifdef CONFIG_SUN_CONSOLE
if (old_vc_mode != vt_cons[new_console]->vc_mode)
{
- extern void set_cursor(int currcons);
- extern void hide_cursor(void);
-
if (old_vc_mode == KD_GRAPHICS)
{
- extern void sun_clear_margin(void);
- extern void render_screen(void);
-
- sun_clear_margin();
- render_screen();
- set_cursor(fg_console);
+ suncons_ops.clear_margin();
+ suncons_ops.render_screen();
+ suncons_ops.set_cursor(fg_console);
}
else
- hide_cursor();
+ suncons_ops.hide_cursor();
}
#endif
/*