patch-2.1.36 linux/drivers/net/baycom.c

Next file: linux/drivers/net/bpqether.c
Previous file: linux/drivers/net/atp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/net/baycom.c linux/drivers/net/baycom.c
@@ -89,6 +89,7 @@
 #include <linux/netdevice.h>
 #include <linux/hdlcdrv.h>
 #include <linux/baycom.h>
+#include <linux/init.h>
 
 /* --------------------------------------------------------------------- */
 
@@ -936,7 +937,7 @@
 
 /* --------------------------------------------------------------------- */
 
-int baycom_init(void)
+__initfunc(int baycom_init(void))
 {
 	int i, j, found = 0;
 	char set_hw = 1;
@@ -1038,7 +1039,7 @@
  * * indicates sofware DCD
  */
 
-void baycom_setup(char *str, int *ints)
+__initfunc(void baycom_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