aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:36 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:36 -0400
commit03a2faaea8f44edfe583ddf1240948019becfbe4 (patch)
tree08cb1f71390aa1972ad4eb9eba7da48ac3a6d9ce /include/linux/ide.h
parent3ee38302ffc63da93eb0313053a990bb3466e275 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index c2cdf7750185..9127d87cfa93 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -619,7 +619,7 @@ struct ide_drive_s {
619 struct ide_atapi_pc *failed_pc; 619 struct ide_atapi_pc *failed_pc;
620 620
621 /* callback for packet commands */ 621 /* callback for packet commands */
622 void (*pc_callback)(struct ide_drive_s *, int); 622 int (*pc_callback)(struct ide_drive_s *, int);
623 623
624 void (*pc_update_buffers)(struct ide_drive_s *, struct ide_atapi_pc *); 624 void (*pc_update_buffers)(struct ide_drive_s *, struct ide_atapi_pc *);
625 int (*pc_io_buffers)(struct ide_drive_s *, struct ide_atapi_pc *, 625 int (*pc_io_buffers)(struct ide_drive_s *, struct ide_atapi_pc *,