patch-2.1.31 linux/drivers/char/lp.c
Next file: linux/drivers/char/lp_m68k.c
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Apr 2 17:43:21 1997
- Orig file:
v2.1.30/linux/drivers/char/lp.c
- Orig date:
Thu Feb 27 10:57:29 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -485,7 +485,7 @@
return 0;
}
-static void lp_release(struct inode * inode, struct file * file)
+static int lp_release(struct inode * inode, struct file * file)
{
unsigned int minor = MINOR(inode->i_rdev);
unsigned int irq;
@@ -498,6 +498,7 @@
LP_F(minor) &= ~LP_BUSY;
MOD_DEC_USE_COUNT;
+ return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov