patch-2.2.16 linux/drivers/s390/char/hwc_con.c

Next file: linux/drivers/s390/char/hwc_rw.c
Previous file: linux/drivers/s390/char/con3215.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/s390/char/hwc_con.c linux/drivers/s390/char/hwc_con.c
@@ -28,6 +28,7 @@
 
 void hwc_console_write(struct console *, const char *, unsigned int);
 kdev_t hwc_console_device(struct console *);
+void hwc_console_unblank (void);
 
 #define  HWC_CON_PRINT_HEADER "hwc console driver: "
 
@@ -39,7 +40,7 @@
 	NULL,
 	hwc_console_device,
 	NULL,			
-	NULL,			
+	hwc_console_unblank,
 	NULL,			
 	CON_PRINTBUFFER,
 	0,
@@ -70,6 +71,12 @@
 	return  MKDEV(hwc_console_major, hwc_console_minor);
 }
 
+void 
+hwc_console_unblank (void)
+{
+	hwc_unblank ();
+}
+
 #endif	
 
 __initfunc(unsigned long hwc_console_init(unsigned long kmem_start))
@@ -84,12 +91,12 @@
 
 	if (hwc_init(&kmem_start) == 0) {
 
+		hwc_tty_init ();
+
 #ifdef CONFIG_HWC_CONSOLE
 
 		register_console(&hwc_console);
 #endif	
-
-		hwc_tty_init();
 	} else
 		panic (HWC_CON_PRINT_HEADER "hwc initialisation failed !");
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)