diff options
author | Tang Yuantian <Yuantian.Tang@freescale.com> | 2015-07-09 14:37:30 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-07-09 12:35:24 -0400 |
commit | fa31377ef0fd1096fbeab9c240582a93c4da9f6d (patch) | |
tree | dda4aca322a6f31bf873fe85f08e276bd74b26c6 /include/key_matrix.h | |
parent | 5e5055f0a31f02966e6fba0c11ab7548b1c20850 (diff) | |
download | u-boot-imx-fa31377ef0fd1096fbeab9c240582a93c4da9f6d.zip u-boot-imx-fa31377ef0fd1096fbeab9c240582a93c4da9f6d.tar.gz u-boot-imx-fa31377ef0fd1096fbeab9c240582a93c4da9f6d.tar.bz2 |
ahci: Fix compiling warnings under 64bit platforms
When compling under 64bit platforms, there are lots of warnings,
like:
drivers/block/ahci.c:114:18: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
u8 *port_mmio = (u8 *)probe_ent->port[port].port_mmio;
^
drivers/block/ahci.c: In function ?.hci_host_init?.
drivers/block/ahci.c:218:49: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
probe_ent->port[i].port_mmio = ahci_port_base((u32) mmio, i);
......
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Diffstat (limited to 'include/key_matrix.h')
0 files changed, 0 insertions, 0 deletions