Skip to content
Commit b23860e3 authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Tom Rini
Browse files

drivers: serial: Make serial_initialize return int



serial_initialize is called only during the common init sequence, after
relocation (in common/board_r.c). Because it has a void return value, it
has to wrapped in initr_serial. In order to be able to get rid of this
indirection, make serial_initialize return int.

Remove extern from prototype in order to silence the following checkpatch
warning:
check: extern prototypes should be avoided in .h files

Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarOvidiu Panait <ovidiu.panait@windriver.com>
parent 661237e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment