]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6sxsabresd: Use 'int' for return values
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 21 Jul 2015 23:37:22 +0000 (20:37 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 22 Jul 2015 12:31:39 +0000 (09:31 -0300)
commitc5fb677ed57e19617d50054b2f62ce8e80dda949
tree82fd6388c08e19e6219728066ca2ee4b59de097b
parentb713ff901892c7a039348b962b942197015bf429
mx6sxsabresd: Use 'int' for return values

The variable 'ret' is used to store the value returned by pfuze_mode_init(),
so it should be 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/mx6sxsabresd/mx6sxsabresd.c