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@0x0f.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20240929025506.1212237-1-daniel@0x0f.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
Daniel Palmer 2024-09-29 11:55:06 +09:00 committed by Geert Uytterhoeven
parent 8cf0b93919
commit 2a9517b6f9
1 changed files with 2 additions and 2 deletions

View File

@ -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))