summaryrefslogtreecommitdiffstats
path: root/drivers/block/xd.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-03-02 16:23:12 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 13:48:11 +0200
commit961846ca5aae2f39d061e057ae6ad0b54b134008 (patch)
treeaf98d98a32458d306da75f54411d82d4f64a8bbe /drivers/block/xd.h
parent[PATCH] switch virtio_blk (diff)
downloadlinux-961846ca5aae2f39d061e057ae6ad0b54b134008.tar.xz
linux-961846ca5aae2f39d061e057ae6ad0b54b134008.zip
[PATCH] switch xd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/block/xd.h')
-rw-r--r--drivers/block/xd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xd.h b/drivers/block/xd.h
index cffd44a20383..37cacef16e93 100644
--- a/drivers/block/xd.h
+++ b/drivers/block/xd.h
@@ -105,7 +105,7 @@ static u_char xd_detect (u_char *controller, unsigned int *address);
static u_char xd_initdrives (void (*init_drive)(u_char drive));
static void do_xd_request (struct request_queue * q);
-static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
+static int xd_ioctl (struct block_device *bdev,fmode_t mode,unsigned int cmd,unsigned long arg);
static int xd_readwrite (u_char operation,XD_INFO *disk,char *buffer,u_int block,u_int count);
static void xd_recalibrate (u_char drive);