[PATCH] m68k: Use dma_addr_t for scatterlist.dma_address

From: Geert Uytterhoeven
Date: Mon Feb 02 2009 - 16:14:23 EST


dma_addr_t (as was used by m68knommu) is more correct than u32.

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
arch/m68k/include/asm/scatterlist.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/m68k/include/asm/scatterlist.h b/arch/m68k/include/asm/scatterlist.h
index d3a7a0e..e27ad90 100644
--- a/arch/m68k/include/asm/scatterlist.h
+++ b/arch/m68k/include/asm/scatterlist.h
@@ -11,7 +11,7 @@ struct scatterlist {
unsigned int offset;
unsigned int length;

- __u32 dma_address; /* A place to hang host-specific addresses at. */
+ dma_addr_t dma_address; /* A place to hang host-specific addresses at. */
};

/* This is bogus and should go away. */
--
1.5.6.5


Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/