patch-1.3.63 linux/drivers/sound/sb_midi.c

Next file: linux/drivers/sound/sb_mixer.c
Previous file: linux/drivers/sound/sb_dsp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.62/linux/drivers/sound/sb_midi.c linux/drivers/sound/sb_midi.c
@@ -2,8 +2,9 @@
  * sound/sb_dsp.c
  *
  * The low level driver for the SoundBlaster DS chips.
- *
- * Copyright by Hannu Savolainen 1993
+ */
+/*
+ * Copyright by Hannu Savolainen 1993-1996
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -24,8 +25,9 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
  */
+#include <linux/config.h>
+
 
 #include "sound_config.h"
 
@@ -61,7 +63,7 @@
 int             input_opened = 0;
 static int      my_dev;
 
-extern sound_os_info *sb_osp;
+extern int     *sb_osp;
 
 void            (*midi_input_intr) (int dev, unsigned char data);
 
@@ -192,7 +194,7 @@
 }
 
 static int
-sb_midi_ioctl (int dev, unsigned cmd, ioctl_arg arg)
+sb_midi_ioctl (int dev, unsigned cmd, caddr_t arg)
 {
   return -EPERM;
 }

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