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

Commit 0b1c7643 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/powernv: Fix section mismatch from opal_lpc_init()



opal_lpc_init() is called from an __init routine, and calls other __init
routines, so should also be __init, init?

Fixes: 023b13a5 ("powerpc/powernv: Add support for direct mapped LPC on POWER9")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 0d0a4bc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -387,7 +387,7 @@ static int opal_lpc_init_debugfs(void)
machine_device_initcall(powernv, opal_lpc_init_debugfs);
#endif  /* CONFIG_DEBUG_FS */

void opal_lpc_init(void)
void __init opal_lpc_init(void)
{
	struct device_node *np;