Skip to content

Commit

Permalink
Staging: phison: fix problem caused by libata change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 9, 2010
1 parent edae01b commit cf10700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/phison/phison.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cf10700

Please sign in to comment.