[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>
This commit is contained in:
parent
d773c66097
commit
04a9f081b7
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue