patch-2.3.99-pre7 linux/drivers/char/vt.c

Next file: linux/drivers/char/zr36120.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -104,8 +104,7 @@
 void
 _kd_mksound(unsigned int hz, unsigned int ticks)
 {
-	static struct timer_list sound_timer = { NULL, NULL, 0, 0,
-						 kd_nosound };
+	static struct timer_list sound_timer = { function: kd_nosound };
 	unsigned int count = 0;
 	unsigned long flags;
 

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