public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix standalone inclusion of asm-i386/dma-mapping.h
@ 2004-06-15 15:06 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-06-15 15:06 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

Without this a usb-storage patch I sent fails on x86 because
dma-mapping.h uses struct device and various VM stuff without proper
includes.  It's fine on ppc at least.



--- 1.7/include/asm-i386/dma-mapping.h	2004-05-25 11:53:06 +02:00
+++ edited/include/asm-i386/dma-mapping.h	2004-06-15 17:02:43 +02:00
@@ -1,6 +1,9 @@
 #ifndef _ASM_I386_DMA_MAPPING_H
 #define _ASM_I386_DMA_MAPPING_H
 
+#include <linux/device.h>
+#include <linux/mm.h>
+
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/scatterlist.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-15 15:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-15 15:06 [PATCH] fix standalone inclusion of asm-i386/dma-mapping.h Christoph Hellwig

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