aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-06-10 14:34:38 -0400
committerVinod Koul <vinod.koul@intel.com>2013-07-05 02:10:42 -0400
commitfed8c45727abd273fd74b3e78b35be4929121334 (patch)
treee02d446079dde52572fba2e7fdafa49b18bb6c89 /drivers/dma
parent09677176610e7c3ed8ddb302fd24bbb59bdbf205 (diff)
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 <jaswinder.singh@linaro.org> Cc: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Jassi Brar <jaswinder.singh@linaro.org> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/pl330.c2
1 files changed, 1 insertions, 1 deletions
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 {
501 /* Maximum possible events/irqs */ 501 /* Maximum possible events/irqs */
502 int events[32]; 502 int events[32];
503 /* BUS address of MicroCode buffer */ 503 /* BUS address of MicroCode buffer */
504 u32 mcode_bus; 504 dma_addr_t mcode_bus;
505 /* CPU address of MicroCode buffer */ 505 /* CPU address of MicroCode buffer */
506 void *mcode_cpu; 506 void *mcode_cpu;
507 /* List of all Channel threads */ 507 /* List of all Channel threads */