diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-11 12:24:50 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-27 19:02:28 -0400 |
commit | e5a0b6163703627728f978d079d8c5f449af5fdd (patch) | |
tree | 36ab88dfb7bb08f51b8f73100d50941d25d5bd94 /src/hw/ahci.c | |
parent | 04db972290a6f3c61920fc7498031f477911774e (diff) | |
download | seabios-e5a0b6163703627728f978d079d8c5f449af5fdd.tar.gz |
block: Rename disk_op_s->drive_gf to drive_fl
Now that the drive_s struct does not need to be in the f-segment,
rename references to drive_gf in the generic drive code to drive_fl.
This is just variable renames - no code changes.
Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/ahci.c')
-rw-r--r-- | src/hw/ahci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hw/ahci.c b/src/hw/ahci.c index b9043b9f..1746e7a1 100644 --- a/src/hw/ahci.c +++ b/src/hw/ahci.c @@ -217,7 +217,7 @@ int ahci_atapi_process_op(struct disk_op_s *op) return 0; struct ahci_port_s *port_gf = container_of( - op->drive_gf, struct ahci_port_s, drive); + op->drive_fl, struct ahci_port_s, drive); struct ahci_cmd_s *cmd = port_gf->cmd; if (op->command == CMD_WRITE || op->command == CMD_FORMAT) @@ -237,7 +237,7 @@ static int ahci_disk_readwrite_aligned(struct disk_op_s *op, int iswrite) { struct ahci_port_s *port_gf = container_of( - op->drive_gf, struct ahci_port_s, drive); + op->drive_fl, struct ahci_port_s, drive); struct ahci_cmd_s *cmd = port_gf->cmd; int rc; |