X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=inline;f=drivers%2Fblock%2Fxd.h;h=37cacef16e936d87fbfe2d07980431f885971d81;hb=1f6d6e8ebe73ba9d9d4c693f7f6f50f661dbd6e4;hp=cffd44a2038325078d306a5c940862e3c1f75927;hpb=a4fb2122f1fc4a22bd6a5b8a195b952c2d31c54d;p=~andy%2Flinux diff --git a/drivers/block/xd.h b/drivers/block/xd.h index cffd44a2038..37cacef16e9 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);