summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-05-18 14:14:36 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-05-18 15:18:27 +0200
commita5602a3273774c720aaf165ff670e5b85e5910a5 (patch)
tree32c8379704fde515bc3c7967c00f3a0f4f534264
parentMIPS: AR7: Fix GPIO register size for Titan variant. (diff)
downloadlinux-a5602a3273774c720aaf165ff670e5b85e5910a5.tar.xz
linux-a5602a3273774c720aaf165ff670e5b85e5910a5.zip
MIPS: Kludge IP27 build for 2.6.39.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/include/asm/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/dma-mapping.h b/arch/mips/include/asm/dma-mapping.h
index 655f849bd08d..7aa37ddfca4b 100644
--- a/arch/mips/include/asm/dma-mapping.h
+++ b/arch/mips/include/asm/dma-mapping.h
@@ -5,7 +5,9 @@
#include <asm/cache.h>
#include <asm-generic/dma-coherent.h>
+#ifndef CONFIG_SGI_IP27 /* Kludge to fix 2.6.39 build for IP27 */
#include <dma-coherence.h>
+#endif
extern struct dma_map_ops *mips_dma_map_ops;