]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerVinod Koul <vinod.koul@intel.com>
Wed, 12 Jun 2013 05:31:02 +0000 (11:01 +0530)
commit32c0ad104cb51fa7db30aa7c4ad4d80034412719
tree1641f0335097a6fcca8e8b3715c8f13b585efdf3
parentc64c69d612a9fd3960e799041822c51a3fbbaa97
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>
drivers/dma/pl330.c