mtd: rawnand: fsmc: Use uintptr_t casts instead of unsigned ones
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 9 Jul 2018 20:09:35 +0000 (22:09 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 08:10:20 +0000 (10:10 +0200)
commitf55824c6faef1df97439094a30b9f21fd2ce60a8
treed3d95d1a730a99c3dfdd41a10a1a53dc89ec7a5c
parent8f3931ed975e1d775b87ce85d65ecacd54138359
mtd: rawnand: fsmc: Use uintptr_t casts instead of unsigned ones

uintptr_t should be used when casting a pointer to an unsigned int so
that the code compiles without warnings even on 64-bit architectures.

This is needed if we want to allow selection of this driver when
COMPILE_TEST=y.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/fsmc_nand.c