From e3618dfec24f62671685f834c14b12d9fd5e944a Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Tue, 24 Nov 2015 17:28:52 +0800 Subject: 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 --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'board/freescale/mx6qsabreauto/mx6qsabreauto.c') 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) -- cgit v1.1