summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/68000/m68EZ328.c
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/platform/68000/m68EZ328.c
parentd8dfad3876e4386666b759da3c833d62fb8b2267 (diff)
downloadblackbird-op-linux-df592eb5dc07c5df26a16318ed4bf2f96fa38a4d.tar.gz
blackbird-op-linux-df592eb5dc07c5df26a16318ed4bf2f96fa38a4d.zip
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 a6eb72d75008..332b5e8605fc 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;
OpenPOWER on IntegriCloud