aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/ahci.c')
-rw-r--r--src/hw/ahci.c4
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;