From: Imre Kaloz <kaloz@kernel.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2/5] MIPS: sgi-ip22: Add prototype for ip22_eisa_init() to header
Date: Mon, 26 Oct 2026 14:45:40 +0100 [thread overview]
Message-ID: <20261026134543.27207-3-kaloz@kernel.org> (raw)
In-Reply-To: <20261026134543.27207-1-kaloz@kernel.org>
This fixes the following build warning with CONFIG_EISA=y:
arch/mips/sgi-ip22/ip22-eisa.c:95:12: warning: no previous prototype for 'ip22_eisa_init' [-Wmissing-prototypes]
Signed-off-by: Imre Kaloz <kaloz@kernel.org>
---
arch/mips/include/asm/sgi/ip22.h | 1 +
arch/mips/sgi-ip22/ip22-int.c | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/mips/include/asm/sgi/ip22.h b/arch/mips/include/asm/sgi/ip22.h
index 57942afb5c86..4bb2e2d38927 100644
--- a/arch/mips/include/asm/sgi/ip22.h
+++ b/arch/mips/include/asm/sgi/ip22.h
@@ -79,5 +79,6 @@ extern unsigned short ip22_nvram_read(int reg);
extern void ip22_be_interrupt(int irq);
extern void ip22_be_init(void) __init;
extern void indy_8254timer_irq(void);
+extern int ip22_eisa_init(void);
#endif
diff --git a/arch/mips/sgi-ip22/ip22-int.c b/arch/mips/sgi-ip22/ip22-int.c
index 11f8adc98cb5..89a3e8e8f0fd 100644
--- a/arch/mips/sgi-ip22/ip22-int.c
+++ b/arch/mips/sgi-ip22/ip22-int.c
@@ -30,8 +30,6 @@ static char lc1msk_to_irqnr[256];
static char lc2msk_to_irqnr[256];
static char lc3msk_to_irqnr[256];
-extern int ip22_eisa_init(void);
-
static void enable_local0_irq(struct irq_data *d)
{
/* don't allow mappable interrupt to be enabled from setup_irq,
--
2.47.3
next prev parent reply other threads:[~2026-10-26 13:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-26 13:45 [PATCH 0/5] MIPS: SGI updates Imre Kaloz
2026-10-26 13:45 ` [PATCH 1/5] MIPS: lib/uncached: fix run_uncached()'s stack switch Imre Kaloz
2026-10-26 13:45 ` Imre Kaloz [this message]
2026-10-26 13:45 ` [PATCH 3/5] MIPS: ip22_defconfig: correct CPU type, add EISA and refresh config Imre Kaloz
2026-10-26 13:45 ` [PATCH 4/5] MIPS: ip30_defconfig: drop add-in drivers, enable the LED driver Imre Kaloz
2026-10-26 13:45 ` [PATCH 5/5] MIPS: ip32_defconfig: drop dead options and add-in drivers, add audio Imre Kaloz
2026-11-17 16:57 ` [PATCH 0/5] MIPS: SGI updates Thomas Bogendoerfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261026134543.27207-3-kaloz@kernel.org \
--to=kaloz@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.