patch-2.3.16 linux/arch/mips/baget/time.c

Next file: linux/arch/mips/baget/vacserial.c
Previous file: linux/arch/mips/baget/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/arch/mips/baget/time.c linux/arch/mips/baget/time.c
@@ -52,7 +52,7 @@
 	}
 }
 
-__initfunc(static void timer_enable(void))
+static void __init timer_enable(void)
 {
 	unsigned char ss0cr0 = vic_inb(VIC_SS0CR0);
 	ss0cr0 &= ~VIC_SS0CR0_TIMER_FREQ_MASK;
@@ -63,7 +63,7 @@
 		 VIC_INT_LOW|VIC_INT_ENABLE, VIC_LINT2); 
 }
 
-__initfunc(void time_init(void))
+void __init time_init(void)
 {
 	if (request_irq(BAGET_VIC_TIMER_IRQ, timer_interrupt, 
 			SA_INTERRUPT|SA_STATIC_ALLOC, "timer", NULL) < 0) 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)