diff options
author | Andy Gross <andy.gross@linaro.org> | 2016-05-25 14:47:07 -0500 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-05-26 10:08:30 +0100 |
commit | 5574089362de2fb0ebbc0c4d9bd48203b59b7b1b (patch) | |
tree | b3e7bd12dfcdd8e6a95c2d6118a1a2c1ddbf348a | |
parent | 6286fd0cb3ad85cc1f910936f85d981ebe2b0a9d (diff) |
dmaengine: qcom: adm: Use phys_addr_tqcomlt-v4.6
This patches fixes some build errors due to incorrect typing.
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | drivers/dma/qcom/qcom_adm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/dma/qcom/qcom_adm.c b/drivers/dma/qcom/qcom_adm.c index 9b1aadb03ac3a..0536e431bb213 100644 --- a/drivers/dma/qcom/qcom_adm.c +++ b/drivers/dma/qcom/qcom_adm.c @@ -232,9 +232,9 @@ static void *adm_process_fc_descriptors(struct adm_chan *achan, struct adm_desc_hw_single *single_desc; u32 remainder = sg_dma_len(sg); u32 rows, row_offset, crci_cmd; - u32 mem_addr = sg_dma_address(sg); - u32 *incr_addr = &mem_addr; - u32 *src, *dst; + phys_addr_t mem_addr = sg_dma_address(sg); + phys_addr_t *incr_addr = &mem_addr; + phys_addr_t *src, *dst; if (direction == DMA_DEV_TO_MEM) { crci_cmd = ADM_CMD_SRC_CRCI(crci); @@ -298,9 +298,9 @@ static void *adm_process_non_fc_descriptors(struct adm_chan *achan, { struct adm_desc_hw_single *single_desc; u32 remainder = sg_dma_len(sg); - u32 mem_addr = sg_dma_address(sg); - u32 *incr_addr = &mem_addr; - u32 *src, *dst; + phys_addr_t mem_addr = sg_dma_address(sg); + phys_addr_t *incr_addr = &mem_addr; + phys_addr_t *src, *dst; if (direction == DMA_DEV_TO_MEM) { src = &achan->slave.src_addr; |