patch-2.1.31 linux/drivers/char/lp_m68k.c

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/lp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/char/lp_m68k.c linux/drivers/char/lp_m68k.c
@@ -392,13 +392,14 @@
 	return 0;
 }
 
-static void lp_release(struct inode *inode, struct file *file)
+static int lp_release(struct inode *inode, struct file *file)
 {
 	int dev =MINOR(inode->i_rdev);
 
 	lp_table[dev]->flags &= ~LP_BUSY;
 	lp_table[dev]->lp_release();
 	MOD_DEC_USE_COUNT;
+	return 0;
 }
 
 

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