Re: [PATCH v2] MIPS: SiByte: Fix missing function prototypes

From: Thomas Bogendoerfer

Date: Tue Nov 17 2026 - 11:28:13 EST


On Fri, Nov 13, 2026 at 11:19:02AM -0800, Florian Fainelli wrote:
> The SB1250 SWARM build reports missing prototypes for platform time
> initialization, SoC setup, IRQ and SMP helpers, and both RTC backends.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> Changes in v2:
>
> - corrected warning reported by kbuild test robot by gating the
> inclusion of sb1250.h to avoid warnings on bcm63xx_defconfig
>
> arch/mips/include/asm/sibyte/sb1250.h | 17 +++++++++++++++++
> arch/mips/mm/cerr-sb1.c | 2 --
> arch/mips/mm/tlbex.c | 11 +++++++----
> arch/mips/sibyte/bcm1480/irq.c | 4 +---
> arch/mips/sibyte/bcm1480/smp.c | 6 +-----
> arch/mips/sibyte/bcm1480/time.c | 4 ++--
> arch/mips/sibyte/common/bus_watcher.c | 2 +-
> arch/mips/sibyte/sb1250/irq.c | 4 +---
> arch/mips/sibyte/sb1250/smp.c | 6 +-----
> arch/mips/sibyte/sb1250/time.c | 4 ++--
> arch/mips/sibyte/swarm/rtc.h | 15 +++++++++++++++
> arch/mips/sibyte/swarm/rtc_m41t81.c | 1 +
> arch/mips/sibyte/swarm/rtc_xicor1241.c | 1 +
> arch/mips/sibyte/swarm/setup.c | 18 ++----------------
> 14 files changed, 52 insertions(+), 43 deletions(-)
> create mode 100644 arch/mips/sibyte/swarm/rtc.h

applied to mips-next

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]