Skip to content

Commit 2a9517b

Browse files
fifteenhexgeertu
authored andcommitted
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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 8cf0b93 commit 2a9517b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/m68k/mvme147/config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636
static void mvme147_get_model(char *model);
37-
extern void mvme147_sched_init(void);
37+
static void __init mvme147_sched_init(void);
3838
extern int mvme147_hwclk (int, struct rtc_time *);
3939
extern void mvme147_reset (void);
4040

@@ -123,7 +123,7 @@ static irqreturn_t mvme147_timer_int (int irq, void *dev_id)
123123
}
124124

125125

126-
void mvme147_sched_init (void)
126+
static void __init mvme147_sched_init(void)
127127
{
128128
if (request_irq(PCC_IRQ_TIMER1, mvme147_timer_int, IRQF_TIMER,
129129
"timer 1", NULL))

0 commit comments

Comments
 (0)