All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	Arnd Bergmann <arnd@arndb.de>
Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 5/7] sh: sh7757lcr: Make init_sh7757lcr_IRQ() static
Date: Mon,  4 Mar 2024 20:10:47 +0100	[thread overview]
Message-ID: <fba00424b5b0bee0f9b9cbc63d649a86854d202f.1709579038.git.geert+renesas@glider.be> (raw)
In-Reply-To: <cover.1709579038.git.geert+renesas@glider.be>

arch/sh/boards/board-sh7757lcr.c:572:13: warning: no previous prototype for 'init_sh7757lcr_IRQ' [-Wmissing-prototypes]

There are no users outside this file, so make it static.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/sh/boards/board-sh7757lcr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sh/boards/board-sh7757lcr.c b/arch/sh/boards/board-sh7757lcr.c
index 4014c042d2a5a5c2..bca54e489e11678e 100644
--- a/arch/sh/boards/board-sh7757lcr.c
+++ b/arch/sh/boards/board-sh7757lcr.c
@@ -569,7 +569,7 @@ static int __init sh7757lcr_devices_setup(void)
 arch_initcall(sh7757lcr_devices_setup);
 
 /* Initialize IRQ setting */
-void __init init_sh7757lcr_IRQ(void)
+static void __init init_sh7757lcr_IRQ(void)
 {
 	plat_irq_setup_pins(IRQ_MODE_IRQ7654);
 	plat_irq_setup_pins(IRQ_MODE_IRQ3210);
-- 
2.34.1


  parent reply	other threads:[~2024-03-04 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-04 19:10 [PATCH 0/7] sh: Fix missing prototypes (part two) Geert Uytterhoeven
2024-03-04 19:10 ` [PATCH 1/7] sh: cache: Move forward declarations to <asm/cacheflush.h> Geert Uytterhoeven
2024-03-04 19:10 ` [PATCH 2/7] sh: traps: Make is_dsp_inst() static Geert Uytterhoeven
2024-03-04 19:10 ` [PATCH 3/7] sh: mach-highlander: Add missing #include <mach/highlander.h> Geert Uytterhoeven
2024-03-04 19:10 ` [PATCH 4/7] sh: mach-sh03: Make sh03_rtc_settimeofday() static Geert Uytterhoeven
2024-03-04 19:10 ` Geert Uytterhoeven [this message]
2024-03-04 19:10 ` [PATCH 6/7] sh: sh7757: Add missing #include <asm/mmzone.h> Geert Uytterhoeven
2024-03-04 19:10 ` [PATCH 7/7] sh: sh7785lcr: Make init_sh7785lcr_IRQ() static Geert Uytterhoeven
2024-05-01 16:49 ` [PATCH 0/7] sh: Fix missing prototypes (part two) John Paul Adrian Glaubitz
2024-05-02 10:26 ` John Paul Adrian Glaubitz

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=fba00424b5b0bee0f9b9cbc63d649a86854d202f.1709579038.git.geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=arnd@arndb.de \
    --cc=dalias@libc.org \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /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.