summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-08 23:16:24 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-27 15:07:01 +0200
commitb788ed5c97c2bae978cb84a95ea37a1aa6458ea8 (patch)
tree3522c9aec37312e370d222bea7a7aaf52afea2aa
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff)
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>
-rw-r--r--include/asm-avr32/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-avr32/pci.h b/include/asm-avr32/pci.h
index 0f5f134b896..a32a0237201 100644
--- a/include/asm-avr32/pci.h
+++ b/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__ */