[PATCH v4 14/17] drivers: serial: Make serial_initialize return int

Tom Rini 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
> warning:
> 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...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200806/a6eb0547/attachment.sig>

More information about the U-Boot mailing list