summaryrefslogtreecommitdiff
path: root/arch/m68k/platform/68000/m68EZ328.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-06-30 09:58:40 (GMT)
committerGreg Ungerer <gerg@uclinux.org>2013-08-26 06:51:13 (GMT)
commitdf592eb5dc07c5df26a16318ed4bf2f96fa38a4d (patch)
tree6f0130f3f936d06941fed9a1ccf09401c488ed10 /arch/m68k/platform/68000/m68EZ328.c
parentd8dfad3876e4386666b759da3c833d62fb8b2267 (diff)
downloadlinux-fsl-qoriq-df592eb5dc07c5df26a16318ed4bf2f96fa38a4d.tar.xz
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/68000/m68EZ328.c')
-rw-r--r--arch/m68k/platform/68000/m68EZ328.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/platform/68000/m68EZ328.c b/arch/m68k/platform/68000/m68EZ328.c
index a6eb72d..332b5e8 100644
--- a/arch/m68k/platform/68000/m68EZ328.c
+++ b/arch/m68k/platform/68000/m68EZ328.c
@@ -13,6 +13,7 @@
/***************************************************************************/
+#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/rtc.h>
@@ -52,7 +53,7 @@ _bsc1(unsigned char *, gethwaddr, int, a)
_bsc1(char *, getbenv, char *, a)
#endif
-void config_BSP(char *command, int len)
+void __init config_BSP(char *command, int len)
{
unsigned char *p;