mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
pci-dma: add linux/pci-dma.h to linux/pci.h
All the architectures properly set NEED_DMA_MAP_STATE now so we can safely add linux/pci-dma.h to linux/pci.h and remove the linux/pci-dma.h inclusion in arch's asm/pci.h Signed-off-by: FUJITA Tomonori <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Cc: Jesse Barnes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c7e67ac1f3
commit
f41b177157
13 changed files with 1 additions and 24 deletions
|
|
@ -119,8 +119,6 @@ pci_dma_mapping_error(struct pci_dev *pdev, dma_addr_t dma_addr)
|
|||
extern void pci_unmap_single(struct pci_dev *, dma_addr_t, size_t, int);
|
||||
extern void pci_unmap_page(struct pci_dev *, dma_addr_t, size_t, int);
|
||||
|
||||
#include <linux/pci-dma.h>
|
||||
|
||||
/* Map a set of buffers described by scatterlist in streaming mode for
|
||||
PCI DMA. This is the scatter-gather version of the above
|
||||
pci_map_single interface. Here the scatter gather list elements
|
||||
|
|
|
|||
Loading…
Reference in a new issue