Quellcode durchsuchen

[libata] sata_mv: fix oops by filling in missing hook

Only two of three ata_port_operations structs had a ->data_xfer member,
which led to, uh, a lack of data xfer.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Jeff Garzik vor 19 Jahren
Ursprung
Commit
ae1f19aeb7
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      drivers/ata/sata_mv.c

+ 1 - 0
drivers/ata/sata_mv.c

@@ -463,6 +463,7 @@ static const struct ata_port_operations mv_iie_ops = {
 
 	.qc_prep		= mv_qc_prep_iie,
 	.qc_issue		= mv_qc_issue,
+	.data_xfer		= ata_mmio_data_xfer,
 
 	.eng_timeout		= mv_eng_timeout,