diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-11-24 17:28:52 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-11-24 17:29:52 +0800 |
commit | e3618dfec24f62671685f834c14b12d9fd5e944a (patch) | |
tree | 1b2aadd45a00edb46f0962b354d03da3c3348ed2 /board/freescale/mx6qsabreauto/mx6qsabreauto.c | |
parent | fc547601c7af4fdabc7340ae5baff6196a275724 (diff) | |
download | u-boot-imx-e3618dfec24f62671685f834c14b12d9fd5e944a.zip u-boot-imx-e3618dfec24f62671685f834c14b12d9fd5e944a.tar.gz u-boot-imx-e3618dfec24f62671685f834c14b12d9fd5e944a.tar.bz2 |
MLK-11892 imx: boards: fix variable type
ret should not use unsigned integer. Should use signed interger to
compare against 0.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'board/freescale/mx6qsabreauto/mx6qsabreauto.c')
-rw-r--r-- | board/freescale/mx6qsabreauto/mx6qsabreauto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c index de71bfb..21362a4 100644 --- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c +++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c @@ -772,7 +772,8 @@ int board_init(void) static struct pmic *pfuze; int power_init_board(void) { - unsigned int value, ret; + unsigned int value; + int ret; pfuze = pfuze_common_init(I2C_PMIC); if (!pfuze) |