On Sun, 1 Feb 2009, Greg Ungerer wrote:Geert Uytterhoeven wrote:
m68k: use mmu scatterlist.h for non-mmu setups as well
A small cleanup:
From bb3640a02d427175006f8d0c49311bf7a2290dd0 Mon Sep 17 00:00:00 2001From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Mon, 2 Feb 2009 22:14:23 +0100
Subject: [PATCH] m68k: Use dma_addr_t for scatterlist.dma_address
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. */