]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:07 +0000 (13:49 +0200)
commit72069b271bf38a35e7fcd1592b750034a77b648e
tree829b12e9e11f8ec91c9ff8d7f32387f2f9c51f2d
parent3437fa5a9908d8a04cf6dc5bd3aa35b04463921c
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>
board/freescale/mx6sxsabresd/mx6sxsabresd.c