diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:34 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:34 -0400 |
commit | 5e2040fd0a97888952b37243b5868872bbe0f6ac (patch) | |
tree | f7fa199f04ddb17bea362be4b2decb7f276ce869 /include/linux/ide.h | |
parent | bfdb0b3beb0618dd03e7aa49e2fd3ac360aef370 (diff) |
ide: move ->failed_pc to ide_drive_t
Move ->failed_pc from struct ide_{disk,tape}_obj to ide_drive_t.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 8b0ea43884c0..4a904681f3e4 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -609,6 +609,9 @@ struct ide_drive_s { | |||
609 | /* current packet command */ | 609 | /* current packet command */ |
610 | struct ide_atapi_pc *pc; | 610 | struct ide_atapi_pc *pc; |
611 | 611 | ||
612 | /* last failed packet command */ | ||
613 | struct ide_atapi_pc *failed_pc; | ||
614 | |||
612 | /* callback for packet commands */ | 615 | /* callback for packet commands */ |
613 | void (*pc_callback)(struct ide_drive_s *, int); | 616 | void (*pc_callback)(struct ide_drive_s *, int); |
614 | 617 | ||