dmaengine: dw: always export dw_dma_{en,dis}able
[linux-2.6-microblaze.git] / drivers / dma / dw / pci.c
index 9c88828..b144706 100644 (file)
@@ -82,7 +82,7 @@ static int dw_pci_suspend_late(struct device *dev)
        struct pci_dev *pci = to_pci_dev(dev);
        struct dw_dma_chip *chip = pci_get_drvdata(pci);
 
-       return dw_dma_suspend(chip);
+       return dw_dma_disable(chip);
 };
 
 static int dw_pci_resume_early(struct device *dev)
@@ -90,7 +90,7 @@ static int dw_pci_resume_early(struct device *dev)
        struct pci_dev *pci = to_pci_dev(dev);
        struct dw_dma_chip *chip = pci_get_drvdata(pci);
 
-       return dw_dma_resume(chip);
+       return dw_dma_enable(chip);
 };
 
 #endif /* CONFIG_PM_SLEEP */