summaryrefslogtreecommitdiffstats
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-06-10 19:34:38 +0100
committerVinod Koul <vinod.koul@intel.com>2013-07-05 11:40:42 +0530
commitfed8c45727abd273fd74b3e78b35be4929121334 (patch)
treee02d446079dde52572fba2e7fdafa49b18bb6c89 /drivers/dma/pl330.c
parent09677176610e7c3ed8ddb302fd24bbb59bdbf205 (diff)
downloadop-kernel-dev-fed8c45727abd273fd74b3e78b35be4929121334.zip
op-kernel-dev-fed8c45727abd273fd74b3e78b35be4929121334.tar.gz
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/pl330.c')
-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 ac04335..bd69cc4 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 */
OpenPOWER on IntegriCloud