[PATCH] arch/i386/kernel/pci-dma.c Remove some sparse warnings

From: Peter Hagervall
Date: Sat Feb 05 2005 - 08:59:49 EST


Not sure if this is the correct way of fixing this, but at least it
compiles cleanly and seems to work for me.


--- linux-bk/arch/i386/kernel/pci-dma.c 2005-02-03 18:11:54.000000000 +0100
+++ linux/arch/i386/kernel/pci-dma.c 2005-02-05 12:47:05.000000000 +0100
@@ -14,7 +14,7 @@
#include <asm/io.h>

struct dma_coherent_mem {
- void *virt_base;
+ void __iomem *virt_base;
u32 device_base;
int size;
int flags;


--
Peter Hagervall <hager@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/