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

Next file: linux/fs/ncpfs/dir.c
Previous file: linux/drivers/net/README.3c505
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.82/linux/drivers/sound/pss.c linux/drivers/sound/pss.c
@@ -426,7 +426,7 @@
 #if (defined(CONFIG_MPU401) || defined(CONFIG_MPU_EMU)) && defined(CONFIG_MIDI)
   return probe_mpu401 (hw_config);
 #else
-  return 0
+  return 0;
 #endif
 }
 
@@ -775,15 +775,17 @@
 long
 attach_pss_mpu (long mem_start, struct address_info *hw_config)
 {
-  int             prev_devs;
   long            ret;
 
 #if (defined(CONFIG_MPU401) || defined(CONFIG_MPU_EMU)) && defined(CONFIG_MIDI)
-  prev_devs = num_midis;
-  ret = attach_mpu401 (mem_start, hw_config);
-
-  if (num_midis == (prev_devs + 1))	/* The MPU driver installed itself */
-    midi_devs[prev_devs]->coproc = &pss_coproc_operations;
+  {
+    int             prev_devs;
+    prev_devs = num_midis;
+    ret = attach_mpu401 (mem_start, hw_config);
+
+    if (num_midis == (prev_devs + 1))	/* The MPU driver installed itself */
+      midi_devs[prev_devs]->coproc = &pss_coproc_operations;
+  }
 #endif
   return ret;
 }

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