From: Greg Kroah-Hartman Date: Sat, 9 Oct 2010 20:26:12 +0000 (-0700) Subject: Staging: phison: fix problem caused by libata change X-Git-Tag: firefly_0821_release~9833^2~79^2^2~352 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6c5d9482bb02592441cb2115514cebadfdd0dd05;p=firefly-linux-kernel-4.4.55.git Staging: phison: fix problem caused by libata change commit cf10700bf8047f0668dd874b607f89516612e6c7 upstream. The libata core changed this function so it needed to call a different one. See https://bugzilla.kernel.org/show_bug.cgi?id=19872 for details. Reported-by: Heinz Wiesinger Tested-by: Heinz Wiesinger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/phison/phison.c b/drivers/staging/phison/phison.c index 42783d7367e3..677152044f45 100644 --- a/drivers/staging/phison/phison.c +++ b/drivers/staging/phison/phison.c @@ -62,7 +62,7 @@ static int phison_init_one(struct pci_dev *pdev, const struct pci_device_id *id) }; const struct ata_port_info *ppi[] = { &info, NULL }; - ret = ata_pci_sff_init_one(pdev, ppi, &phison_sht, NULL, 0); + ret = ata_pci_bmdma_init_one(pdev, ppi, &phison_sht, NULL, 0); dev_dbg(&pdev->dev, "phison_init_one(), ret = %x\n", ret);