summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 11:46:34 (GMT)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 11:46:34 (GMT)
commit5e2040fd0a97888952b37243b5868872bbe0f6ac (patch)
treef7fa199f04ddb17bea362be4b2decb7f276ce869 /include
parentbfdb0b3beb0618dd03e7aa49e2fd3ac360aef370 (diff)
downloadlinux-fsl-qoriq-5e2040fd0a97888952b37243b5868872bbe0f6ac.tar.xz
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')
-rw-r--r--include/linux/ide.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 8b0ea43..4a90468 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);