patch-1.3.9 linux/drivers/sound/uart6850.c

Next file: linux/drivers/sound/ulaw.h
Previous file: linux/drivers/sound/trix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.8/linux/drivers/sound/uart6850.c linux/drivers/sound/uart6850.c
@@ -93,9 +93,8 @@
 }
 
 void
-m6850intr (int unit, struct pt_regs * regs)
+m6850intr (INTR_HANDLER_PARMS (irq, dummy))
 {
-  printk ("M");
   if (input_avail ())
     uart6850_input_loop ();
 }
@@ -243,6 +242,7 @@
 {
   {"6850 UART", 0, 0, SNDCARD_UART6850},
   &std_midi_synth,
+  {0},
   uart6850_open,
   uart6850_close,
   uart6850_ioctl,
@@ -309,7 +309,7 @@
   uart6850_base = hw_config->io_base;
   uart6850_irq = hw_config->irq;
 
-  if (snd_set_irq_handler (uart6850_irq, m6850intr) < 0)
+  if (snd_set_irq_handler (uart6850_irq, m6850intr, "MIDI6850") < 0)
     return 0;
 
   ok = reset_uart6850 ();

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