diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:34 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:34 +0100 |
commit | 5e2040fd0a97888952b37243b5868872bbe0f6ac (patch) | |
tree | f7fa199f04ddb17bea362be4b2decb7f276ce869 /include/linux/ide.h | |
parent | bfdb0b3beb0618dd03e7aa49e2fd3ac360aef370 (diff) | |
download | kernel-crypto-5e2040fd0a97888952b37243b5868872bbe0f6ac.tar.gz kernel-crypto-5e2040fd0a97888952b37243b5868872bbe0f6ac.tar.xz kernel-crypto-5e2040fd0a97888952b37243b5868872bbe0f6ac.zip |
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 8b0ea43884c..4a904681f3e 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -609,6 +609,9 @@ struct ide_drive_s { /* current packet command */ struct ide_atapi_pc *pc; + /* last failed packet command */ + struct ide_atapi_pc *failed_pc; + /* callback for packet commands */ void (*pc_callback)(struct ide_drive_s *, int); |