projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4716e48
)
powerpc/xive: Fix section __init warning
author
Cédric Le Goater
<clg@kaod.org>
Mon, 4 Sep 2017 06:37:55 +0000
(08:37 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 4 Sep 2017 09:38:07 +0000
(19:38 +1000)
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>
arch/powerpc/sysdev/xive/spapr.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/xive/spapr.c
b/arch/powerpc/sysdev/xive/spapr.c
index 43e9eeb0d39f3a603154d1a1e9b1075a88c12b8c..f24a70bc6855d54cf86a50d17fefebc9777e2ed0 100644
(file)
--- 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;