patch-2.1.28 linux/drivers/sound/maui.c

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

diff -u --recursive --new-file v2.1.27/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -4,7 +4,7 @@
  * The low level driver for Turtle Beach Maui and Tropez.
  */
 /*
- * Copyright (C) by Hannu Savolainen 1993-1996
+ * Copyright (C) by Hannu Savolainen 1993-1997
  *
  * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
  * Version 2 (June 1991). See the "COPYING" file distributed with this software
@@ -127,7 +127,7 @@
   return 0;
 }
 
-void
+static void
 mauiintr (int irq, void *dev_id, struct pt_regs *dummy)
 {
   irq_ok = 1;
@@ -286,7 +286,7 @@
   return 0;
 }
 
-int
+static int
 maui_load_patch (int dev, int format, const char *addr,
 		 int offs, int count, int pmgr_flag)
 {
@@ -459,6 +459,7 @@
        */
 
       synth = midi_devs[this_dev]->converter;
+      synth->id = "MAUI";
 
       if (synth != NULL)
 	{

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov