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