patch-2.1.31 linux/drivers/cdrom/sjcd.c

Next file: linux/drivers/cdrom/sonycd535.c
Previous file: linux/drivers/cdrom/sbpcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/cdrom/sjcd.c linux/drivers/cdrom/sjcd.c
@@ -1385,7 +1385,7 @@
 /*
  * On close, we flush all sjcd blocks from the buffer cache.
  */
-static void sjcd_release( struct inode *inode, struct file *file ){
+static int sjcd_release( struct inode *inode, struct file *file ){
   int s;
 
 #if defined( SJCD_TRACE )
@@ -1413,6 +1413,7 @@
       }
     }
   }
+  return 0;
 }
 
 /*

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