]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 0f5f134b896a132635b412c83a772ba86ea78fa6..a32a02372017443d24db8848d2a559c548b1f13e 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__ */