]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: spi: fsl-qspi: remove compile Warnings
authorYunhui Cui <yunhui.cui@nxp.com>
Wed, 13 Jul 2016 02:46:27 +0000 (10:46 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 2 Aug 2016 16:45:13 +0000 (09:45 -0700)
commit04e5c6d9cca668845f9f4b702f587c4dcc0ea4bd
treef13955283cc413281a74155c93a7d289336dc4c1
parentf3dbf1f0c9101bf303cb5f52bca6ba02aebc1e45
driver: spi: fsl-qspi: remove compile Warnings

Warnins log:
drivers/spi/fsl_qspi.c: In function ‘qspi_ahb_read’:
drivers/spi/fsl_qspi.c:400:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  memcpy(rxbuf, (u8 *)(priv->cur_amba_base + priv->sf_addr), len);

Signed-off-by: Yunhui Cui <yunhui.cui@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/spi/fsl_qspi.c