Skip to content

Commit 0b1c764

Browse files
committed
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: 023b13a ("powerpc/powernv: Add support for direct mapped LPC on POWER9") Signed-off-by: Michael Ellerman <[email protected]>
1 parent 0d0a4bc commit 0b1c764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/platforms/powernv/opal-lpc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ static int opal_lpc_init_debugfs(void)
387387
machine_device_initcall(powernv, opal_lpc_init_debugfs);
388388
#endif /* CONFIG_DEBUG_FS */
389389

390-
void opal_lpc_init(void)
390+
void __init opal_lpc_init(void)
391391
{
392392
struct device_node *np;
393393

0 commit comments

Comments
 (0)