patch-2.4.0-test11 linux/drivers/sound/sgalaxy.c
Next file: linux/drivers/sound/sonicvibes.c
Previous file: linux/drivers/sound/pss.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sat Nov 11 18:33:14 2000
- Orig file:
v2.4.0-test10/linux/drivers/sound/sgalaxy.c
- Orig date:
Fri Aug 11 08:26:44 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/sgalaxy.c linux/drivers/sound/sgalaxy.c
@@ -16,6 +16,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 sb_rst() and sb_cmd()
*/
#include <linux/init.h>
@@ -40,7 +44,7 @@
#define SBDSP_STATUS SBDSP_COMMAND
#define SBDSP_DATA_AVAIL 0xE
-static int sb_rst(int base)
+static int __init sb_rst(int base)
{
int i;
@@ -62,7 +66,7 @@
return 1;
}
-static int sb_cmd( int base, unsigned char val )
+static int __init sb_cmd( int base, unsigned char val )
{
int i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)