patch-2.1.31 linux/drivers/block/ataflop.c

Next file: linux/drivers/block/floppy.c
Previous file: linux/drivers/block/amiflop.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/block/ataflop.c linux/drivers/block/ataflop.c
@@ -1946,7 +1946,7 @@
 }
 
 
-static void floppy_release( struct inode * inode, struct file * filp )
+static int floppy_release( struct inode * inode, struct file * filp )
 {
   int drive;
 
@@ -1966,6 +1966,7 @@
     }
 
   MOD_DEC_USE_COUNT;
+  return 0;
 }
 
 static struct file_operations floppy_fops = {

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