diff options
| author | Cédric Le Goater <clg@kaod.org> | 2017-09-04 02:37:55 -0400 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-04 05:38:07 -0400 |
| commit | 265601f034df3566f22da11240977aab8860f6a7 (patch) | |
| tree | 531ca1d45caaad3cca192506a202a69d680e0842 /arch/powerpc | |
| parent | 4716e488abc22d487e298ee6c0c7d7dada9fcb64 (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.c | 2 |
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) | |||
| 593 | return true; | 593 | return true; |
| 594 | } | 594 | } |
| 595 | 595 | ||
| 596 | bool xive_spapr_init(void) | 596 | bool __init xive_spapr_init(void) |
| 597 | { | 597 | { |
| 598 | struct device_node *np; | 598 | struct device_node *np; |
| 599 | struct resource r; | 599 | struct resource r; |
