diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-06-30 11:58:40 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2013-08-26 16:51:13 +1000 |
commit | df592eb5dc07c5df26a16318ed4bf2f96fa38a4d (patch) | |
tree | 6f0130f3f936d06941fed9a1ccf09401c488ed10 /arch/m68k/platform/68360/config.c | |
parent | d8dfad3876e4386666b759da3c833d62fb8b2267 (diff) | |
download | kernel_goldelico_gta04-df592eb5dc07c5df26a16318ed4bf2f96fa38a4d.zip kernel_goldelico_gta04-df592eb5dc07c5df26a16318ed4bf2f96fa38a4d.tar.gz kernel_goldelico_gta04-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/platform/68360/config.c')
-rw-r--r-- | arch/m68k/platform/68360/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/platform/68360/config.c b/arch/m68k/platform/68360/config.c index 9877cef..0570741 100644 --- a/arch/m68k/platform/68360/config.c +++ b/arch/m68k/platform/68360/config.c @@ -11,6 +11,7 @@ */ #include <stdarg.h> +#include <linux/init.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/mm.h> @@ -140,7 +141,7 @@ _bsc1(char *, getbenv, char *, a) #endif -void config_BSP(char *command, int len) +void __init config_BSP(char *command, int len) { unsigned char *p; |