diff options
Diffstat (limited to 'drivers/ata/sata_sx4.c')
-rw-r--r-- | drivers/ata/sata_sx4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c index 39b5de60a1f9..3a18a8a719b4 100644 --- a/drivers/ata/sata_sx4.c +++ b/drivers/ata/sata_sx4.c | |||
@@ -1476,10 +1476,10 @@ static int pdc_sata_init_one(struct pci_dev *pdev, | |||
1476 | } | 1476 | } |
1477 | 1477 | ||
1478 | /* configure and activate */ | 1478 | /* configure and activate */ |
1479 | rc = pci_set_dma_mask(pdev, ATA_DMA_MASK); | 1479 | rc = dma_set_mask(&pdev->dev, ATA_DMA_MASK); |
1480 | if (rc) | 1480 | if (rc) |
1481 | return rc; | 1481 | return rc; |
1482 | rc = pci_set_consistent_dma_mask(pdev, ATA_DMA_MASK); | 1482 | rc = dma_set_coherent_mask(&pdev->dev, ATA_DMA_MASK); |
1483 | if (rc) | 1483 | if (rc) |
1484 | return rc; | 1484 | return rc; |
1485 | 1485 | ||