[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240929025506.1212237-1-daniel@0x0f.com>
Date: Sun, 29 Sep 2024 11:55:06 +0900
From: Daniel Palmer <daniel@...f.com>
To: geert@...ux-m68k.org
Cc: gerg@...ux-m68k.org,
linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org,
fthain@...ux-m68k.org,
Daniel Palmer <daniel@...f.com>
Subject: [PATCH] m68k: mvme147: Make mvme147_sched_init() __init
mvme147_sched_init() is only used once at init time
so it can be made __init and save a few bytes of memory.
Signed-off-by: Daniel Palmer <daniel@...f.com>
---
arch/m68k/mvme147/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/m68k/mvme147/config.c b/arch/m68k/mvme147/config.c
index 8b5dc07f0811..4279069fbb6e 100644
--- a/arch/m68k/mvme147/config.c
+++ b/arch/m68k/mvme147/config.c
@@ -34,7 +34,7 @@
static void mvme147_get_model(char *model);
-extern void mvme147_sched_init(void);
+static void __init mvme147_sched_init(void);
extern int mvme147_hwclk (int, struct rtc_time *);
extern void mvme147_reset (void);
@@ -123,7 +123,7 @@ static irqreturn_t mvme147_timer_int (int irq, void *dev_id)
}
-void mvme147_sched_init (void)
+static void __init mvme147_sched_init(void)
{
if (request_irq(PCC_IRQ_TIMER1, mvme147_timer_int, IRQF_TIMER,
"timer 1", NULL))
--
2.43.0
Powered by blists - more mailing lists