aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/sdcard.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-07-11 12:24:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-27 19:02:28 -0400
commite5a0b6163703627728f978d079d8c5f449af5fdd (patch)
tree36ab88dfb7bb08f51b8f73100d50941d25d5bd94 /src/hw/sdcard.c
parent04db972290a6f3c61920fc7498031f477911774e (diff)
downloadseabios-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/sdcard.c')
-rw-r--r--src/hw/sdcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c
index 73fef294..6410340e 100644
--- a/src/hw/sdcard.c
+++ b/src/hw/sdcard.c
@@ -266,7 +266,7 @@ static int
sdcard_readwrite(struct disk_op_s *op, int iswrite)
{
struct sddrive_s *drive = container_of(
- op->drive_gf, struct sddrive_s, drive);
+ op->drive_fl, struct sddrive_s, drive);
int cmd = iswrite ? SC_WRITE_SINGLE : SC_READ_SINGLE;
if (op->count > 1)
cmd = iswrite ? SC_WRITE_MULTIPLE : SC_READ_MULTIPLE;