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

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

diff -u --recursive --new-file v2.1.30/linux/drivers/block/ps2esdi.c linux/drivers/block/ps2esdi.c
@@ -89,7 +89,7 @@
 
 static int ps2esdi_open(struct inode *inode, struct file *file);
 
-static void ps2esdi_release(struct inode *inode, struct file *file);
+static int ps2esdi_release(struct inode *inode, struct file *file);
 
 static int ps2esdi_ioctl(struct inode *inode, struct file *file,
 			 u_int cmd, u_long arg);
@@ -1060,7 +1060,7 @@
 
 
 
-static void ps2esdi_release(struct inode *inode, struct file *file)
+static int ps2esdi_release(struct inode *inode, struct file *file)
 {
 	int dev = DEVICE_NR(MINOR(inode->i_rdev));
 
@@ -1068,6 +1068,7 @@
 		sync_dev(dev);
 		access_count[dev]--;
 	}
+	return 0;
 }
 
 

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