瀏覽代碼

[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 19 年之前
父節點
當前提交
ae1f19aeb7
共有 1 個文件被更改,包括 1 次插入0 次删除
  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,