patch-2.1.63 linux/drivers/sound/sscape.c

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

diff -u --recursive --new-file v2.1.62/linux/drivers/sound/sscape.c linux/drivers/sound/sscape.c
@@ -15,7 +15,7 @@
 
 #include "sound_config.h"
 
-#if defined(CONFIG_SSCAPEHW)
+#ifdef CONFIG_SSCAPEHW
 
 #include "coproc.h"
 
@@ -213,15 +213,6 @@
   return data;
 }
 
-static int
-host_command1 (struct sscape_info *devc, int cmd)
-{
-  unsigned char   buf[10];
-
-  buf[0] = (unsigned char) (cmd & 0xff);
-
-  return host_write (devc, buf, 1);
-}
 
 static int
 host_command2 (struct sscape_info *devc, int cmd, int parm1)
@@ -254,7 +245,7 @@
 		 value ? 1 : 0);
   if (host_read (devc) != CMD_ACK)
     {
-      /* printk ("SNDSCAPE: Setting MT32 mode failed\n"); */
+      /* printk( "SNDSCAPE: Setting MT32 mode failed\n"); */
     }
   host_close (devc);
 }
@@ -266,7 +257,7 @@
   host_command3 (devc, CMD_SET_CONTROL, ctrl, value);
   if (host_read (devc) != CMD_ACK)
     {
-      /* printk ("SNDSCAPE: Setting control (%d) failed\n", ctrl); */
+      /* printk( "SNDSCAPE: Setting control (%d) failed\n",  ctrl); */
     }
   host_close (devc);
 }

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