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>
This commit is contained in:
parent
bfdb0b3beb
commit
5e2040fd0a
4 changed files with 23 additions and 32 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue