Explorar o código

avr32: Provide PCI DMA mapping API

Some non-PCI drivers need the PCI variant of the DMA mapping API.
Include <asm-generic/pci-dma-compat.h> to provide this through the
non-PCI DMA mapping API.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen %!s(int64=17) %!d(string=hai) anos
pai
achega
b788ed5c97
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/asm-avr32/pci.h

+ 2 - 0
include/asm-avr32/pci.h

@@ -5,4 +5,6 @@
 
 #define PCI_DMA_BUS_IS_PHYS	(1)
 
+#include <asm-generic/pci-dma-compat.h>
+
 #endif /* __ASM_AVR32_PCI_H__ */