avr32: Provide PCI DMA mapping API
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 8 Jun 2008 21:16:24 +0000 (23:16 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 27 Jun 2008 13:07:01 +0000 (15:07 +0200)
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>
include/asm-avr32/pci.h

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