aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pdc_adma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r--drivers/ata/pdc_adma.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c
index 1111712b3d7d..fdad56c8662a 100644
--- a/drivers/ata/pdc_adma.c
+++ b/drivers/ata/pdc_adma.c
@@ -596,14 +596,12 @@ static int adma_set_dma_masks(struct pci_dev *pdev, void __iomem *mmio_base)
596 596
597 rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); 597 rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
598 if (rc) { 598 if (rc) {
599 dev_printk(KERN_ERR, &pdev->dev, 599 dev_err(&pdev->dev, "32-bit DMA enable failed\n");
600 "32-bit DMA enable failed\n");
601 return rc; 600 return rc;
602 } 601 }
603 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)); 602 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
604 if (rc) { 603 if (rc) {
605 dev_printk(KERN_ERR, &pdev->dev, 604 dev_err(&pdev->dev, "32-bit consistent DMA enable failed\n");
606 "32-bit consistent DMA enable failed\n");
607 return rc; 605 return rc;
608 } 606 }
609 return 0; 607 return 0;