diff options
Diffstat (limited to 'kernel/include/linux/pci-dma.h')
-rw-r--r-- | kernel/include/linux/pci-dma.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/include/linux/pci-dma.h b/kernel/include/linux/pci-dma.h new file mode 100644 index 000000000..549a041f9 --- /dev/null +++ b/kernel/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 |