Browse Source

[PATCH] m68knommu: fix dma-mapping.h

Make the m68knommu DMA handling consistent with other architectures.
Compile problems pointed out by Adrian Bunk <bunk@stusta.de>

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Greg Ungerer 18 years ago
parent
commit
04a9f081b7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/asm-m68knommu/dma-mapping.h

+ 2 - 1
include/asm-m68knommu/dma-mapping.h

@@ -1,9 +1,10 @@
 #ifndef _M68KNOMMU_DMA_MAPPING_H
 #ifndef _M68KNOMMU_DMA_MAPPING_H
 #define _M68KNOMMU_DMA_MAPPING_H
 #define _M68KNOMMU_DMA_MAPPING_H
 
 
-
 #ifdef CONFIG_PCI
 #ifdef CONFIG_PCI
 #include <asm-generic/dma-mapping.h>
 #include <asm-generic/dma-mapping.h>
+#else
+#include <asm-generic/dma-mapping-broken.h>
 #endif
 #endif
 
 
 #endif  /* _M68KNOMMU_DMA_MAPPING_H */
 #endif  /* _M68KNOMMU_DMA_MAPPING_H */