diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-08 21:44:14 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-10 23:41:02 +1000 |
commit | df4c7983189491302a6000b2dcb14d8093f8fddf (patch) | |
tree | 9dae1000f586d081eee8dd162efb4ab948c4ce84 /arch/powerpc/sysdev/xive/native.c | |
parent | 7559952e1f6f95091b00352c5ba863040b65db9e (diff) | |
download | linux-df4c7983189491302a6000b2dcb14d8093f8fddf.tar.gz linux-df4c7983189491302a6000b2dcb14d8093f8fddf.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/sysdev/xive/native.c')
-rw-r--r-- | arch/powerpc/sysdev/xive/native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xive/native.c b/arch/powerpc/sysdev/xive/native.c index 0f95476b01f6..1dbf782c9239 100644 --- a/arch/powerpc/sysdev/xive/native.c +++ b/arch/powerpc/sysdev/xive/native.c @@ -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; |