mx53ard: Initialize return code with error
authorFabio Estevam <festevam@gmail.com>
Mon, 19 Mar 2012 13:41:25 +0000 (13:41 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 27 Mar 2012 07:41:17 +0000 (09:41 +0200)
commit19db9be4aa39e9112356c09c511f1c4726b64c74
tree7dc85d5f11ecefd580c4bfdbb206757ef8919cd2
parent67ee3dd35e20953e9e271d01a4ba4c4b417ec961
mx53ard: Initialize return code with error

The variable "rc" is the return of board_eth_init() function. Initialize
it with an error code, so that this function can return an error when
CONFIG_SMC911X is not set.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
board/freescale/mx53ard/mx53ard.c