Alpha arch development list
 help / color / mirror / Atom feed
* [PATCH] alpha: Add DMA_ERROR_CODE defn to avert compiler error in drm
@ 2011-05-04  8:13 Michael Cree
  2011-05-04 21:59 ` Matt Turner
  2011-05-06 12:30 ` FUJITA Tomonori
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Cree @ 2011-05-04  8:13 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michael Cree, linux-alpha, Matt Turner, Richard Henderson,
	Ivan Kokshaysky

The radeon drm code now relies on DMA_ERROR_CODE.  This defines
it in alpha dma-mapping header to at least enable me to compile
radeon drm/kms into kernel.

Signed-off-by: Michael Cree <mcree@orcon.net.nz>
---
 arch/alpha/include/asm/dma-mapping.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/alpha/include/asm/dma-mapping.h b/arch/alpha/include/asm/dma-mapping.h
index 4567aca..644d9c3 100644
--- a/arch/alpha/include/asm/dma-mapping.h
+++ b/arch/alpha/include/asm/dma-mapping.h
@@ -3,6 +3,8 @@
 
 #include <linux/dma-attrs.h>
 
+#define DMA_ERROR_CODE 0
+
 extern struct dma_map_ops *dma_ops;
 
 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
-- 
1.7.4.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-07 23:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04  8:13 [PATCH] alpha: Add DMA_ERROR_CODE defn to avert compiler error in drm Michael Cree
2011-05-04 21:59 ` Matt Turner
2011-05-06 12:43   ` FUJITA Tomonori
2011-05-06 12:30 ` FUJITA Tomonori
2011-05-06 13:49   ` Konrad Rzeszutek Wilk
2011-05-07  0:05     ` FUJITA Tomonori
2011-05-07  3:08       ` Konrad Rzeszutek Wilk
2011-05-07 23:21         ` FUJITA Tomonori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox