2005-02-05 13:55:44

by Peter Hagervall

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

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 <[email protected]>