Staging: phison: fix problem caused by libata change
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Oct 2010 20:26:12 +0000 (13:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Oct 2010 20:26:12 +0000 (13:26 -0700)
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>
drivers/staging/phison/phison.c

index 42783d7367e3f6b61204b549ee5d2285041cb673..677152044f45d5ad7e97a197fd574e2fdb2f1f36 100644 (file)
@@ -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);