[PATCH] m68knommu: fix dma-mapping.h
authorGreg Ungerer <[email protected]>
Mon, 4 Dec 2006 07:27:58 +0000 (17:27 +1000)
committerLinus Torvalds <[email protected]>
Mon, 4 Dec 2006 16:28:47 +0000 (08:28 -0800)
Make the m68knommu DMA handling consistent with other architectures.
Compile problems pointed out by Adrian Bunk <[email protected]>

Signed-off-by: Greg Ungerer <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/asm-m68knommu/dma-mapping.h

index 5622b855a577ed190918e6b5206230991def7dbe..6aeab18e58bd16631dbc4c2d6caa6f3c156b9a5a 100644 (file)
@@ -1,9 +1,10 @@
 #ifndef _M68KNOMMU_DMA_MAPPING_H
 #define _M68KNOMMU_DMA_MAPPING_H
 
-
 #ifdef CONFIG_PCI
 #include <asm-generic/dma-mapping.h>
+#else
+#include <asm-generic/dma-mapping-broken.h>
 #endif
 
 #endif  /* _M68KNOMMU_DMA_MAPPING_H */