dma: pl330: use dma_addr_t for describing bus addresses
authorWill Deacon <will.deacon@arm.com>
Mon, 10 Jun 2013 18:34:38 +0000 (19:34 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 13:23:22 +0000 (21:23 +0800)
commitfc53f6adcf168416e71d52c973433aab60ef30e4
tree3069a7d14301972e785aeb6307a00443443828f0
parentbff22aebd089596c0a5932c3c0f68b9f8fbf5236
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>
(cherry picked from commit fed8c45727abd273fd74b3e78b35be4929121334)
drivers/dma/pl330.c