diff options
Diffstat (limited to 'include/linux/pci-dma.h')
-rw-r--r-- | include/linux/pci-dma.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/pci-dma.h b/include/linux/pci-dma.h new file mode 100644 index 0000000..549a041 --- /dev/null +++ b/include/linux/pci-dma.h @@ -0,0 +1,11 @@ +#ifndef _LINUX_PCI_DMA_H +#define _LINUX_PCI_DMA_H + +#define DECLARE_PCI_UNMAP_ADDR(ADDR_NAME) DEFINE_DMA_UNMAP_ADDR(ADDR_NAME); +#define DECLARE_PCI_UNMAP_LEN(LEN_NAME) DEFINE_DMA_UNMAP_LEN(LEN_NAME); +#define pci_unmap_addr dma_unmap_addr +#define pci_unmap_addr_set dma_unmap_addr_set +#define pci_unmap_len dma_unmap_len +#define pci_unmap_len_set dma_unmap_len_set + +#endif |