]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6sabresd: Use 'int' for return values
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 21 Jul 2015 23:02:49 +0000 (20:02 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 22 Jul 2015 12:32:06 +0000 (09:32 -0300)
commit7e237591c39e09c8f5e33def7484d0988ef13fb1
tree9cd595a805d1e9c32eee98f4764cf66633b2db5a
parentc5fb677ed57e19617d50054b2f62ce8e80dda949
mx6sabresd: Use 'int' for return values

The variable 'ret' is used to store the value returned by pfuze_mode_init(),
so it should of type 'int' instead of 'unsigned int' in order to correctly
handle negative numbers.

Fix the variable type.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
board/freescale/mx6sabresd/mx6sabresd.c