patch-2.1.97 linux/arch/sparc/kernel/tadpole.c

Next file: linux/arch/sparc/kernel/time.c
Previous file: linux/arch/sparc/kernel/systbls.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/arch/sparc/kernel/tadpole.c linux/arch/sparc/kernel/tadpole.c
@@ -6,6 +6,7 @@
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/init.h>
 
 #include <asm/asi.h>
 #include <asm/oplib.h>
@@ -94,7 +95,7 @@
 	clk_ctrl[0] = 0;
 }
 
-void clock_stop_probe(void)
+__initfunc(void clock_stop_probe(void))
 {
 	unsigned int node, clk_nd;
 	char name[20];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov