Răsfoiți Sursa

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 17 ani în urmă
părinte
comite
b788ed5c97
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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__ */