[PATCH v4 14/17] drivers: serial: Make serial_initialize return int
trini at konsulko.com
Fri Aug 7 04:15:56 CEST 2020
On Fri, Jul 24, 2020 at 02:12:22PM +0300, Ovidiu Panait wrote:
> 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
> check: extern prototypes should be avoided in .h files
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
Applied to u-boot/master, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot