patch-2.1.31 linux/drivers/sound/soundcard.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -127,7 +127,7 @@
   return retval;
 }
 
-static void
+static int
 sound_release (struct inode *inode, struct file *file)
 {
   int             dev;
@@ -140,6 +140,7 @@
 #ifdef MODULE
   MOD_DEC_USE_COUNT;
 #endif
+  return 0;
 }
 
 static int

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