summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-10-16 10:23:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 07:47:30 -0400
commitbadf8082c33d18b118d3a6f1b32d5ea6b97d3839 (patch)
tree0367c5fb192559ca8302a8a4810ab65c895b8162 /include/linux/ide.h
parent83ff6fe8580a7c834dba4389d742332fff9b9929 (diff)
downloadlinux-badf8082c33d18b118d3a6f1b32d5ea6b97d3839.tar.gz
linux-badf8082c33d18b118d3a6f1b32d5ea6b97d3839.tar.bz2
linux-badf8082c33d18b118d3a6f1b32d5ea6b97d3839.zip
[PATCH] switch ide_disk_ops ->ioctl() to sane prototype
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 0d03e83f7194..54525be4b5f8 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -474,8 +474,8 @@ struct ide_disk_ops {
ide_startstop_t (*do_request)(struct ide_drive_s *, struct request *,
sector_t);
int (*end_request)(struct ide_drive_s *, int, int);
- int (*ioctl)(struct ide_drive_s *, struct inode *,
- struct file *, unsigned int, unsigned long);
+ int (*ioctl)(struct ide_drive_s *, struct block_device *,
+ fmode_t, unsigned int, unsigned long);
};
/* ATAPI device flags */