diff options
author | Ye Li <ye.li@nxp.com> | 2017-04-05 14:20:13 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 19:48:58 +0800 |
commit | 6bdecfc3fddb5998d91f49f991e66ae46ef4486b (patch) | |
tree | 5992c1e52b45cb3fbd727ce2b1f3bbe8bf811952 /include/environment.h | |
parent | 733a7fde6fea35d6f2ea18c7759a06904b655e54 (diff) | |
download | u-boot-imx-6bdecfc3fddb5998d91f49f991e66ae46ef4486b.zip u-boot-imx-6bdecfc3fddb5998d91f49f991e66ae46ef4486b.tar.gz u-boot-imx-6bdecfc3fddb5998d91f49f991e66ae46ef4486b.tar.bz2 |
MLK-14620 env_sata: Fix build warning
Fix below build warning by declaring sata_get_dev the in the part.h
common/env_sata.c: In function 'saveenv':
common/env_sata.c:70:9: warning: implicit declaration of function 'sata_get_dev' [-Wimplicit-function-declaration]
sata = sata_get_dev(env_sata);
^
common/env_sata.c:70:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
sata = sata_get_dev(env_sata);
^
common/env_sata.c: In function 'env_relocate_spec':
common/env_sata.c:116:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
sata = sata_get_dev(env_sata);
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/environment.h')
0 files changed, 0 insertions, 0 deletions