mtd: cadence: Fix cast to pointer from integer of different size warning
authorVasyl Gomonovych <gomonovych@gmail.com>
Wed, 18 Dec 2019 09:57:15 +0000 (11:57 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 9 Jan 2020 19:05:15 +0000 (20:05 +0100)
commit4aa906f1859614842818dc3b4cb5b27bc35961e2
tree9fa468c8bb0d365b5381739e327e854dcd8f1fc8
parent4114b17af41272e14939b000ce8f3ed7ba937e3c
mtd: cadence: Fix cast to pointer from integer of different size warning

Use dma_addr_t type to pass memory address and control data in
DMA descriptor fields memory_pointer and ctrl_data_ptr
To fix warning: cast to pointer from integer of different size

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/cadence-nand-controller.c