mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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 fed8c45727)
This commit is contained in:
@@ -507,7 +507,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 */
|
||||
|
||||
Reference in New Issue
Block a user