summaryrefslogtreecommitdiffstats
path: root/arch/m68k/amiga/config.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /arch/m68k/amiga/config.c
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'arch/m68k/amiga/config.c')
-rw-r--r--arch/m68k/amiga/config.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c
index 8e6ae531c..08396a5bc 100644
--- a/arch/m68k/amiga/config.c
+++ b/arch/m68k/amiga/config.c
@@ -20,6 +20,7 @@
#include <linux/kd.h>
#include <linux/tty.h>
#include <linux/console.h>
+#include <linux/init.h>
#include <asm/bootinfo.h>
#include <asm/setup.h>
@@ -148,7 +149,7 @@ int amiga_parse_bootinfo(const struct bi_record *record)
* Setup the Amiga configuration info
*/
-void config_amiga(void)
+__initfunc(void config_amiga(void))
{
/* Fill in some default values, if necessary */
if (amiga_eclock == 0)
@@ -376,8 +377,8 @@ void config_amiga(void)
static unsigned short jiffy_ticks;
-static void amiga_sched_init(void (*timer_routine)(int, void *,
- struct pt_regs *))
+__initfunc(static void amiga_sched_init(void (*timer_routine)(int, void *,
+ struct pt_regs *)))
{
jiffy_ticks = (amiga_eclock+HZ/2)/HZ;
@@ -796,7 +797,7 @@ void amiga_serial_gets(char *s, int len)
}
#endif
-static void amiga_debug_init(void)
+__initfunc(static void amiga_debug_init(void))
{
if (!strcmp( m68k_debug_device, "ser" )) {
/* no initialization required (?) */