diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-09 20:26:12 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-09 20:26:12 (GMT) |
commit | cf10700bf8047f0668dd874b607f89516612e6c7 (patch) | |
tree | 5e245d3243e36597842c4f6cee67bbdec46fe772 /drivers/staging/phison/phison.c | |
parent | edae01b94a846b39664420fe0c7561a594bb50a2 (diff) | |
download | linux-fsl-qoriq-cf10700bf8047f0668dd874b607f89516612e6c7.tar.xz |
Staging: phison: fix problem caused by libata change
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 <HMWiesinger@gmx.at>
Tested-by: Heinz Wiesinger <HMWiesinger@gmx.at>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/phison/phison.c')
-rw-r--r-- | drivers/staging/phison/phison.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/phison/phison.c b/drivers/staging/phison/phison.c index 42783d7..6771520 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); |