patch-2.4.0-test11 linux/drivers/sound/maui.c

Next file: linux/drivers/sound/mpu401.c
Previous file: linux/drivers/sound/maestro.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -14,6 +14,8 @@
  *		Alan Cox		General clean up, use kernel IRQ 
  *					system
  *		Christoph Hellwig	Adapted to module_init/module_exit
+ *		Bartlomiej Zolnierkiewicz
+ *					Added __init to download_code()
  *
  *	Status:
  *		Andrew J. Kroll		Tested 06/01/1999 with:
@@ -104,7 +106,7 @@
 	irq_ok = 1;
 }
 
-static int download_code(void)
+static int __init download_code(void)
 {
 	int i, lines = 0;
 	int eol_seen = 0, done = 0;

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