patch-2.1.31 linux/drivers/block/amiflop.c
Next file: linux/drivers/block/ataflop.c
Previous file: linux/arch/sparc64/defconfig
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Apr 2 17:43:19 1997
- Orig file:
v2.1.30/linux/drivers/block/amiflop.c
- Orig date:
Fri Dec 20 01:20:00 1996
diff -u --recursive --new-file v2.1.30/linux/drivers/block/amiflop.c linux/drivers/block/amiflop.c
@@ -1779,7 +1779,7 @@
return 0;
}
-static void floppy_release(struct inode * inode, struct file * filp)
+static int floppy_release(struct inode * inode, struct file * filp)
{
unsigned long flags;
@@ -1803,6 +1803,7 @@
/* the mod_use counter is handled this way */
floppy_off (inode->i_rdev & 3);
#endif
+ return 0;
}
void amiga_floppy_setup (char *str, int *ints)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov