patch-2.2.18 linux/drivers/char/pcxx.c

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

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/pcxx.c linux/drivers/char/pcxx.c
@@ -1781,10 +1781,9 @@
 /*
  * pcxxdelay - delays a specified number of milliseconds
  */
-static void pcxxdelay(int msec)
+static void pcxxdelay(int mseconds)
 {
-	while(msec-- > 0)
-		__delay(loops_per_sec/1000);
+	mdelay(mseconds);
 }
 
 

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