summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2017-09-04 08:37:55 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-09-04 19:38:07 +1000
commit265601f034df3566f22da11240977aab8860f6a7 (patch)
tree531ca1d45caaad3cca192506a202a69d680e0842 /arch/powerpc
parent4716e488abc22d487e298ee6c0c7d7dada9fcb64 (diff)
powerpc/xive: Fix section __init warning
xive_spapr_init() is called from a __init routine and calls __init routines. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/sysdev/xive/spapr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c
index 43e9eeb0d39f..f24a70bc6855 100644
--- a/arch/powerpc/sysdev/xive/spapr.c
+++ b/arch/powerpc/sysdev/xive/spapr.c
@@ -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;