diff options
| author | Gong Qianyu <Qianyu.Gong@freescale.com> | 2016-01-26 15:06:39 +0800 |
|---|---|---|
| committer | York Sun <york.sun@nxp.com> | 2016-01-27 08:27:49 -0800 |
| commit | c2a4cb17b4ff194e905df76b9f7c1b5a00b99b25 (patch) | |
| tree | 665280a589dd27efddc6fc27ea644cac2b289d2e /include/linux/linux_string.h | |
| parent | 25503443eee0c539e3d566d5aa59410562599f18 (diff) | |
| download | u-boot-c2a4cb17b4ff194e905df76b9f7c1b5a00b99b25.tar.gz u-boot-c2a4cb17b4ff194e905df76b9f7c1b5a00b99b25.tar.xz u-boot-c2a4cb17b4ff194e905df76b9f7c1b5a00b99b25.zip | |
spi: fsl_qspi: fix compile warning for 64-bit platform
This patch fixes the following compile warning:
drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe':
drivers/spi/fsl_qspi.c:937:15:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
priv->regs = (struct fsl_qspi_regs *)plat->reg_base;
^
Just make the cast explicit.
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
