powerpc/xive: Fix section mismatch warnings

Both xive_core_init() and xive_native_init() are called from and call
__init routines, so they should also be __init.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Michael Ellerman
2017-08-08 21:44:14 +10:00
parent 7559952e1f
commit df4c798318
2 changed files with 3 additions and 3 deletions

View File

@@ -531,7 +531,7 @@ u32 xive_native_default_eq_shift(void)
}
EXPORT_SYMBOL_GPL(xive_native_default_eq_shift);
bool xive_native_init(void)
bool __init xive_native_init(void)
{
struct device_node *np;
struct resource r;