patch-2.1.36 linux/drivers/net/mkiss.c
Next file: linux/drivers/net/myri_code.h
Previous file: linux/drivers/net/ltpc.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Apr 22 22:42:49 1997
- Orig file:
v2.1.35/linux/drivers/net/mkiss.c
- Orig date:
Thu Mar 27 14:40:04 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/net/mkiss.c linux/drivers/net/mkiss.c
@@ -35,6 +35,7 @@
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/major.h>
+#include <linux/init.h>
#include <linux/timer.h>
@@ -816,7 +817,7 @@
}
/* Initialize AX25 control device -- register AX25 line discipline */
-int mkiss_init_ctrl_dev(void)
+__initfunc(int mkiss_init_ctrl_dev(void))
{
int status;
@@ -1038,7 +1039,7 @@
/* * Init MKISS driver * */
/* ******************************************************************** */
-static int mkiss_init(void)
+__initfunc(static int mkiss_init(void))
{
memset(&mkiss_driver, 0, sizeof(struct tty_driver));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov