patch-1.3.71 linux/drivers/char/cyclades.c

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

diff -u --recursive --new-file v1.3.70/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -989,7 +989,7 @@
  * had to poll every port to see if that port needed servicing.
  */
 static void
-do_cyclades_bh(void *unused)
+do_cyclades_bh(void)
 {
     run_task_queue(&tq_cyclades);
 } /* do_cyclades_bh */
@@ -2816,8 +2816,7 @@
     if (tty_register_driver(&cy_callout_driver))
 	    panic("Couldn't register Cyclom callout driver\n");
 
-    bh_base[CYCLADES_BH].routine = do_cyclades_bh;
-    enable_bh(CYCLADES_BH);
+    init_bh(CYCLADES_BH, do_cyclades_bh);
 
     for (i = 0; i < 16; i++) {
 	    IRQ_cards[i] = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this