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

Commit 265601f0 authored by Cédric Le Goater's avatar Cédric Le Goater Committed by Michael Ellerman
Browse files

powerpc/xive: Fix section __init warning



xive_spapr_init() is called from a __init routine and calls __init
routines.

Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 4716e488
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -593,7 +593,7 @@ static bool xive_get_max_prio(u8 *max_prio)
	return true;
}

bool xive_spapr_init(void)
bool __init xive_spapr_init(void)
{
	struct device_node *np;
	struct resource r;