summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-06-30 11:58:40 +0200
committerGreg Ungerer <gerg@uclinux.org>2013-08-26 16:51:13 +1000
commitdf592eb5dc07c5df26a16318ed4bf2f96fa38a4d (patch)
tree6f0130f3f936d06941fed9a1ccf09401c488ed10 /arch/m68k/kernel
parentd8dfad3876e4386666b759da3c833d62fb8b2267 (diff)
downloadlinux-df592eb5dc07c5df26a16318ed4bf2f96fa38a4d.tar.bz2
m68knommu: Mark functions only called from setup_arch() __init
Some functions that are only called (indirectly) from setup_arch() lack __init annotations. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r--arch/m68k/kernel/setup_no.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c
index 911ba472e6c4..5b16f5d61b44 100644
--- a/arch/m68k/kernel/setup_no.c
+++ b/arch/m68k/kernel/setup_no.c
@@ -118,7 +118,7 @@ void (*mach_power_off)(void);
*
* Returns:
*/
-void parse_uboot_commandline(char *commandp, int size)
+static void __init parse_uboot_commandline(char *commandp, int size)
{
extern unsigned long _init_sp;
unsigned long *sp;