diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-11-24 17:28:52 +0800 |
---|---|---|
committer | fang hui <hui.fang@freescale.com> | 2016-03-16 13:48:05 +0800 |
commit | c08079b36cbb134da0e74749e160e6f24943e3f8 (patch) | |
tree | fa28ec045d37933d6c23ea9e53097bfa3d8f5c1e /board/freescale/mx6sabresd | |
parent | e72985ab9798f9f96975208ef4b40aeea4845d59 (diff) | |
download | u-boot-imx-c08079b36cbb134da0e74749e160e6f24943e3f8.zip u-boot-imx-c08079b36cbb134da0e74749e160e6f24943e3f8.tar.gz u-boot-imx-c08079b36cbb134da0e74749e160e6f24943e3f8.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/mx6sabresd')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 6ef5131..0e4ee2f 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -972,7 +972,8 @@ int board_init(void) static struct pmic *pfuze; int power_init_board(void) { - unsigned int reg, ret; + unsigned int reg; + int ret; pfuze = pfuze_common_init(I2C_PMIC); if (!pfuze) |