]> git.sur5r.net Git - u-boot/commit
mx6sabresd: Use 'int' for return values
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 21 Jul 2015 23:02:49 +0000 (20:02 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 26 Jul 2015 10:12:04 +0000 (12:12 +0200)
commite4b984d75eb7589e91cbb8b939e0fc1418d68446
tree86a018c9f6cd9129b6fe811a5f1a048615947922
parent44f98f9c8e178942ad51b77b6d2a66820fa9d3cc
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