patch-2.3.10 linux/drivers/sound/wf_midi.c

Next file: linux/drivers/usb/CREDITS
Previous file: linux/drivers/sound/wavfront.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/drivers/sound/wf_midi.c linux/drivers/sound/wf_midi.c
@@ -803,7 +803,7 @@
 	return 0;
 }
 
-__initfunc (static int detect_wf_mpu (int irq, int io_base))
+static int __init detect_wf_mpu (int irq, int io_base)
 
 {
 	if (check_region (io_base, 2)) {
@@ -820,8 +820,7 @@
 	return 0;
 }
 
-__initfunc (int install_wf_mpu (void)) 
-
+int __init install_wf_mpu (void)
 {
 	if ((phys_dev->devno = sound_alloc_mididev()) < 0){
 

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