patch-2.1.37 linux/drivers/net/soundmodem/sm.c
Next file: linux/drivers/net/strip.c
Previous file: linux/drivers/net/smc9194.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Mon May 12 10:35:41 1997
- Orig file:
v2.1.36/linux/drivers/net/soundmodem/sm.c
- Orig date:
Fri Apr 4 08:52:22 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/net/soundmodem/sm.c linux/drivers/net/soundmodem/sm.c
@@ -56,6 +56,7 @@
#include <asm/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
+#include <linux/init.h>
#include "sm.h"
/* --------------------------------------------------------------------- */
@@ -662,10 +663,7 @@
/* --------------------------------------------------------------------- */
-#ifdef MODULE
-static
-#endif /* MODULE */
-int sm_init(void)
+__initfunc(int sm_init(void))
{
int i, j, found = 0;
char set_hw = 1;
@@ -800,7 +798,7 @@
* modem: afsk1200, fsk9600
*/
-void sm_setup(char *str, int *ints)
+__initfunc(void sm_setup(char *str, int *ints))
{
int i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov