[PATCH V5 11/17] arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static

Tom Rini trini at konsulko.com
Thu Aug 24 17:14:34 CEST 2023


On Wed, Aug 23, 2023 at 10:10:55PM -0500, Nishanth Menon wrote:

> The erratum is called locally, make it static, drop the #ifdeffery since
> it will only be called in R5 build and mark it potentially unused to
> stop compiler screaming at us.
> 
> While at this, drop the redundant return for a void function.
> 
> Signed-off-by: Nishanth Menon <nm at ti.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- 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/20230824/3b84e238/attachment.sig>


More information about the U-Boot mailing list