aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index bb9693dabe41..f4e8a0cf06e2 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -902,8 +902,9 @@ EXPORT_SYMBOL(ide_set_handler);
902 * handler and IRQ setup do not race. All IDE command kick off 902 * handler and IRQ setup do not race. All IDE command kick off
903 * should go via this function or do equivalent locking. 903 * should go via this function or do equivalent locking.
904 */ 904 */
905 905
906void ide_execute_command(ide_drive_t *drive, task_ioreg_t cmd, ide_handler_t *handler, unsigned timeout, ide_expiry_t *expiry) 906void ide_execute_command(ide_drive_t *drive, u8 cmd, ide_handler_t *handler,
907 unsigned timeout, ide_expiry_t *expiry)
907{ 908{
908 unsigned long flags; 909 unsigned long flags;
909 ide_hwgroup_t *hwgroup = HWGROUP(drive); 910 ide_hwgroup_t *hwgroup = HWGROUP(drive);