summaryrefslogtreecommitdiffstats
path: root/include/linux/pci-dma-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pci-dma-compat.h')
-rw-r--r--include/linux/pci-dma-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci-dma-compat.h b/include/linux/pci-dma-compat.h
index cb1adf0b78a9..249d4d7fbf18 100644
--- a/include/linux/pci-dma-compat.h
+++ b/include/linux/pci-dma-compat.h
@@ -24,7 +24,7 @@ static inline void *
pci_zalloc_consistent(struct pci_dev *hwdev, size_t size,
dma_addr_t *dma_handle)
{
- return dma_zalloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC);
+ return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC);
}
static inline void
OpenPOWER on IntegriCloud