SPI: SPL: sunxi: fix 64-bit build
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Feb 2017 01:20:25 +0000 (01:20 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
commita982bbbc1f0a8c5de08ea777ef267dd5c4cb36db
tree274a7a7513e8505d9a0ea9af1ec3be550a1c5a16
parentce6912e128f68c59617285430463a0e6b214b312
SPI: SPL: sunxi: fix 64-bit build

Addresses passed on to readl and writel are expected to be of the same
size as a pointer. Change the parameter types of sunxi_spi0_read_data()
to make the compiler happy and allow a warning-free aarch64 compile.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sunxi_spi_spl.c