diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:36 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:36 +0100 |
commit | 03a2faaea8f44edfe583ddf1240948019becfbe4 (patch) | |
tree | 08cb1f71390aa1972ad4eb9eba7da48ac3a6d9ce /include/linux/ide.h | |
parent | 3ee38302ffc63da93eb0313053a990bb3466e275 (diff) | |
download | kernel_goldelico_gta04-03a2faaea8f44edfe583ddf1240948019becfbe4.zip kernel_goldelico_gta04-03a2faaea8f44edfe583ddf1240948019becfbe4.tar.gz kernel_goldelico_gta04-03a2faaea8f44edfe583ddf1240948019becfbe4.tar.bz2 |
ide: return request status from ->pc_callback method
Make ->pc_callback method return request status and then move
the request completion from ->pc_callback to ide_pc_intr().
There should be no functional changes caused by this patch.
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index c2cdf77..9127d87 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -619,7 +619,7 @@ struct ide_drive_s { struct ide_atapi_pc *failed_pc; /* callback for packet commands */ - void (*pc_callback)(struct ide_drive_s *, int); + int (*pc_callback)(struct ide_drive_s *, int); void (*pc_update_buffers)(struct ide_drive_s *, struct ide_atapi_pc *); int (*pc_io_buffers)(struct ide_drive_s *, struct ide_atapi_pc *, |