patch-1.3.10 linux/drivers/sound/pas2_card.c

Next file: linux/drivers/sound/sound_config.h
Previous file: linux/drivers/scsi/scsi_proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.9/linux/drivers/sound/pas2_card.c linux/drivers/sound/pas2_card.c
@@ -57,6 +57,7 @@
 /*
  * to support other than the default base address
  */
+extern void mix_write (unsigned char data, int ioaddr);
 
 unsigned char
 pas_read (int ioaddr)
@@ -367,7 +368,7 @@
   if (detect_pas_hw (hw_config))
     {
 
-      if (pas_model = pas_read (CHIP_REV))
+      if ((pas_model = pas_read (CHIP_REV)))
 	{
 	  printk (" <%s rev %d>", pas_model_names[(int) pas_model], pas_read (BOARD_REV_ID));
 	}

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