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

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

diff -u --recursive --new-file v2.1.62/linux/drivers/sound/pss.c linux/drivers/sound/pss.c
@@ -15,7 +15,8 @@
 
 #include "sound_config.h"
 
-#if defined(CONFIG_PSS) && defined(CONFIG_AUDIO)
+#ifdef CONFIG_PSS
+#ifdef CONFIG_AUDIO
 
 /*
  * PSS registers.
@@ -123,7 +124,7 @@
   id = inw (REG (PSS_ID));
   if ((id >> 8) != 'E')
     {
-      /* printk ("No PSS signature detected at 0x%x (0x%x)\n", devc->base, id); */
+      /* printk( "No PSS signature detected at 0x%x (0x%x)\n",  devc->base,  id); */
       return 0;
     }
 
@@ -285,8 +286,7 @@
 	    break;
 	  else
 	    {
-	      printk ("\nPSS: Download timeout problems, byte %d=%d\n",
-		      count, size);
+	      printk ("\nPSS: Download timeout problems, byte %d=%d\n", count, size);
 	      return 0;
 	    }
 	}
@@ -323,7 +323,7 @@
 	return 0;
 
       val = inw (REG (PSS_DATA));
-      /* printk("<PSS: microcode version %d.%d loaded>", val/16, val % 16); */
+      /* printk( "<PSS: microcode version %d.%d loaded>",  val/16,  val % 16); */
     }
 
   return 1;
@@ -518,7 +518,7 @@
 static int
 pss_coproc_ioctl (void *dev_info, unsigned int cmd, caddr_t arg, int local)
 {
-  /* printk("PSS coproc ioctl %x %x %d\n", cmd, arg, local); */
+  /* printk( "PSS coproc ioctl %x %x %d\n",  cmd,  arg,  local); */
 
   switch (cmd)
     {
@@ -890,4 +890,5 @@
   unload_ms_sound (hw_config);
 }
 
+#endif
 #endif

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