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

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

diff -u --recursive --new-file v2.1.30/linux/drivers/char/tpqic02.c linux/drivers/char/tpqic02.c
@@ -2387,7 +2387,7 @@
 } /* qic02_tape_open */
 
 
-static void qic02_tape_release(struct inode * inode, struct file * filp)
+static int qic02_tape_release(struct inode * inode, struct file * filp)
 {
     kdev_t dev = inode->i_rdev;
 
@@ -2420,7 +2420,7 @@
 #ifdef MODULE
     MOD_DEC_USE_COUNT;
 #endif
-    return;
+    return 0;
 } /* qic02_tape_release */
 
 

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