lkml.org 
[lkml]   [2004]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH][v850] Make v850 dma-mapping.h header work when !CONFIG_PCI
Date
From
Linus, please apply.

[Is this something that should be done in <asm-generic/dma-mapping/h>?]

diff -ruN -X../cludes linux-2.6.5-uc0/include/asm-v850/dma-mapping.h linux-2.6.5-uc0-v850-20040407/include/asm-v850/dma-mapping.h
--- linux-2.6.5-uc0/include/asm-v850/dma-mapping.h 2002-12-24 15:01:24.000000000 +0900
+++ linux-2.6.5-uc0-v850-20040407/include/asm-v850/dma-mapping.h 2004-04-07 16:28:51.000000000 +0900
@@ -1 +1,12 @@
+#ifndef __V850_DMA_MAPPING_H__
+#define __V850_DMA_MAPPING_H__
+
+#include <linux/config.h>
+
+#ifdef CONFIG_PCI
#include <asm-generic/dma-mapping.h>
+#else
+#include <asm-generic/dma-mapping-broken.h>
+#endif
+
+#endif /* __V850_DMA_MAPPING_H__ */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.039 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site