Skip to contentSkip to conversation

2.5.34 s390 fixes (6/10): xpram driver.

PATCH New Martin Schwidefsky 1 participant 1 message Sep 11, 2002 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.34 s390 fixes (6/10): xpram driver.

Hi Linus,
a fix for the xpram driver, remove the reference to xpram_release.

blue skies,
Martin.

drivers/s390/block/xpram.c +1 -4
diff -urN linux-2.5.34/drivers/s390/block/xpram.c linux-2.5.34-s390/drivers/s390/block/xpram.c
@@ -15,7 +15,6 @@
  *   Device specific file operations
  *        xpram_iotcl
  *        xpram_open
- *        xpram_release
  *
  * "ad-hoc" partitioning:
  *    the expanded memory can be partitioned among several devices 
@@ -36,6 +35,7 @@
 #include <linux/blkpg.h>
 #include <linux/hdreg.h>  /* HDIO_GETGEO */
 #include <linux/device.h>
+#include <linux/bio.h>
 #include <asm/uaccess.h>
 
 #define XPRAM_NAME	"xpram"
@@ -328,7 +328,6 @@
 	return 0;
 }
 
-
 static int xpram_ioctl (struct inode *inode, struct file *filp,
 		 unsigned int cmd, unsigned long arg)
 {
@@ -354,14 +353,12 @@
 	put_user(4, &geo->start);
 	return 0;
 }
-}
 
 static struct block_device_operations xpram_devops =
 {
 	owner:   THIS_MODULE,
 	ioctl:   xpram_ioctl,
 	open:    xpram_open,
-	release: xpram_release,
 };
 
 /*