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

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

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/waveartist.c linux/drivers/sound/waveartist.c
@@ -17,6 +17,10 @@
  * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
  * Version 2 (June 1991). See the "COPYING" file distributed with this software
  * for more info.
+ *
+ * Changes:
+ * 11-10-2000	Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
+ *		Added __init to waveartist_init()
  */
 
 /* Debugging */
@@ -1190,8 +1194,7 @@
 	ioctl:	waveartist_mixer_ioctl
 };
 
-static int
-waveartist_init(wavnc_info *devc)
+static int __init waveartist_init(wavnc_info *devc)
 {
 	wavnc_port_info *portc;
 	char rev[3], dev_name[64];

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