lkml.org 
[lkml]   [2004]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix standalone inclusion of asm-i386/dma-mapping.h
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>
-
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:03    [W:0.593 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site