aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-09-27 23:19:53 -0400
committerJens Axboe <axboe@kernel.dk>2011-11-05 03:35:10 -0400
commitef0f1587343a4c17b9b0d9061546e36c1c1bb2ec (patch)
tree3acd32766e0e255693b006555e9ff21845b24324 /drivers/block/mtip32xx/mtip32xx.h
parent16d02c040bb6769068f7c4b54ea8542f14237362 (diff)
mtip32xx: cleanup compat ioctl handling
Do the conversion/copy up front instead of passing in a compat flag to the ioctl handler and subsequently to the exec_drive_taskfile() function. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r--drivers/block/mtip32xx/mtip32xx.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index 3423d18e7c86..d6355c6f218f 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -430,10 +430,6 @@ extern void mtip_hw_submit_io(struct driver_data *dd,
430 void *data, 430 void *data,
431 int barrier, 431 int barrier,
432 int dir); 432 int dir);
433extern int mtip_hw_ioctl(struct driver_data *dd,
434 unsigned int cmd,
435 unsigned long arg,
436 unsigned char compat);
437extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj); 433extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj);
438extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj); 434extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj);
439extern int mtip_hw_resume(struct driver_data *dd); 435extern int mtip_hw_resume(struct driver_data *dd);