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

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

diff -u --recursive --new-file v2.1.30/linux/drivers/char/pcwd.c linux/drivers/char/pcwd.c
@@ -394,9 +394,10 @@
 	}
 }
 
-static void pcwd_close(struct inode *ino, struct file *filep)
+static int pcwd_close(struct inode *ino, struct file *filep)
 {
 	MOD_DEC_USE_COUNT;
+	return 0;
 }
 
 static void get_support(void)

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