patch-2.1.101 linux/arch/ppc/kernel/chrp_time.c

Next file: linux/arch/ppc/kernel/find_name.c
Previous file: linux/arch/ppc/kernel/chrp_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/ppc/kernel/chrp_time.c linux/arch/ppc/kernel/chrp_time.c
@@ -18,6 +18,7 @@
 #include <linux/timex.h>
 #include <linux/kernel_stat.h>
 #include <linux/mc146818rtc.h>
+#include <linux/init.h>
 
 #include <asm/segment.h>
 #include <asm/io.h>
@@ -30,7 +31,7 @@
 static int nvram_as0 = NVRAM_AS0;
 static int nvram_data = NVRAM_DATA;
 
-void chrp_time_init(void)
+__initfunc(void chrp_time_init(void))
 {
 	struct device_node *rtcs;
 	int base;
@@ -150,7 +151,7 @@
 }
 
 
-void chrp_calibrate_decr(void)
+__initfunc(void chrp_calibrate_decr(void))
 {
 	struct device_node *cpu;
 	int freq, *fp, divisor;

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