Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adec9a2e authored by Yang Shi's avatar Yang Shi Committed by Michael Ellerman
Browse files

powerpc/4xx: Make sam440ep_setup_rtc() init



sam440ep_setup_rtc() is just called by machine_device_initcall() so make
it __init.

Signed-off-by: default avatarYang Shi <yang.shi@windriver.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent bc183779
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ static struct i2c_board_info sam440ep_rtc_info = {
	.irq = -1,
};

static int sam440ep_setup_rtc(void)
static int __init sam440ep_setup_rtc(void)
{
	return i2c_register_board_info(0, &sam440ep_rtc_info, 1);
}