From: Will Deacon Date: Mon, 10 Jun 2013 18:34:38 +0000 (+0100) Subject: dma: pl330: use dma_addr_t for describing bus addresses X-Git-Tag: next-20130617~70^2^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32c0ad104cb51fa7db30aa7c4ad4d80034412719;p=karo-tx-linux.git dma: pl330: use dma_addr_t for describing bus addresses The microcode bus address (pl330_dmac.mcode_bus) is currently a u32, which fails to compile when building on a system with 64-bit bus addresses. This patch uses dma_addr_t to represent the address instead. Cc: Jassi Brar Cc: Vinod Koul Signed-off-by: Will Deacon Acked-by: Jassi Brar Acked-by: Grant Likely Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index ac04335ef444..bd69cc47150e 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -501,7 +501,7 @@ struct pl330_dmac { /* Maximum possible events/irqs */ int events[32]; /* BUS address of MicroCode buffer */ - u32 mcode_bus; + dma_addr_t mcode_bus; /* CPU address of MicroCode buffer */ void *mcode_cpu; /* List of all Channel threads */