mtd: denali: fix warning when compiled for 64bit system
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 29 Feb 2016 11:57:29 +0000 (20:57 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 23 Mar 2016 16:36:49 +0000 (01:36 +0900)
commit73b5b27b7a8a01cf0527ecba5419ef5a44caf27d
tree1df4eb03c70c3384c21367c80a4fcb5540eb691f
parent0764f24ae6bc937e358990c357f7452b4d5351e3
mtd: denali: fix warning when compiled for 64bit system

The 64-bit compiler (ex. aarch64) emits "warning: cast from pointer
to integer of different size".

Make it work with 64bit DMA address while I am here.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/denali.c