]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static
authorNishanth Menon <nm@ti.com>
Fri, 25 Aug 2023 18:02:58 +0000 (13:02 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 8 Sep 2023 14:07:12 +0000 (10:07 -0400)
commit8b5c4cd78db35a125fb1d9937f36472202efd303
tree745bdf74cf1bd4bdc5ef97d3ea3ff4f44095f150
parent6beb43e0178a375b90a30b7790d794cafb1e64de
arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static

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.

Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-k3/am625_init.c