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

Commit 00baf857 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Idle: cleaup SMTC idle hook as per Linux coding style.

parent 49f2ec91
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -218,13 +218,18 @@ void __init check_wait(void)
	}
}

void arch_cpu_idle(void)
static void smtc_idle_hook(void)
{
#ifdef CONFIG_MIPS_MT_SMTC
	extern void smtc_idle_loop_hook(void);
	void smtc_idle_loop_hook(void);

	smtc_idle_loop_hook();
#endif
}

void arch_cpu_idle(void)
{
	smtc_idle_hook();
	if (cpu_wait)
		(*cpu_wait)();
	else