summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/oldlatches.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/oldlatches.c')
-rw-r--r--arch/arm/kernel/oldlatches.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/kernel/oldlatches.c b/arch/arm/kernel/oldlatches.c
index c4674cd35..a908241d2 100644
--- a/arch/arm/kernel/oldlatches.c
+++ b/arch/arm/kernel/oldlatches.c
@@ -4,6 +4,7 @@
* (c) David Alan Gilbert 1995/1996
*/
#include <linux/kernel.h>
+#include <linux/init.h>
#include <asm/io.h>
#include <asm/hardware.h>
@@ -40,7 +41,7 @@ void oldlatch_bupdate(unsigned char mask,unsigned char newdata)
}
#endif
-void oldlatch_init(void)
+void __init oldlatch_init(void)
{
printk("oldlatch: init\n");
#ifdef LATCHAADDR