patch-2.1.31 linux/drivers/sbus/char/openprom.c

Next file: linux/drivers/sbus/char/rtc.c
Previous file: linux/drivers/pci/pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/sbus/char/openprom.c linux/drivers/sbus/char/openprom.c
@@ -549,10 +549,11 @@
 	return 0;
 }
 
-static void openprom_release(struct inode * inode, struct file * file)
+static int openprom_release(struct inode * inode, struct file * file)
 {
 	kfree_s(file->private_data, sizeof(DATA));
 	MOD_DEC_USE_COUNT;
+	return 0;
 }
 
 static struct file_operations openprom_fops = {

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