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

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

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/wavfront.c linux/drivers/sound/wavfront.c
@@ -60,7 +60,12 @@
  *
  * This program is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
  * Version 2 (June 1991). See the "COPYING" file distributed with this software
- * for more info.  */
+ * for more info.
+ *
+ * Changes:
+ * 11-10-2000	Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
+ *		Added some __init and __initdata to entries in yss225.c
+ */
 
 #include <linux/module.h>
 
@@ -2247,9 +2252,7 @@
 	restore_flags (flags);
 }
 
-static int
-wavefront_hw_reset (void)
-
+static int __init wavefront_hw_reset (void)
 {
 	int bits;
 	int hwv[2];
@@ -2703,8 +2706,7 @@
 	return 0;
 }
 
-static int
-wavefront_do_reset (int atboot)
+static int __init wavefront_do_reset (int atboot)
 {
 	char voices[1];
 
@@ -3076,7 +3078,7 @@
    a somewhat "algorithmic" approach.
 */
 
-static int wffx_init (void)
+static int __init wffx_init (void)
 {
 	int i;
 	int j;

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