patch-2.1.36 linux/drivers/net/loopback.c
Next file: linux/drivers/net/ltpc.c
Previous file: linux/drivers/net/lapbether.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Apr 22 22:42:49 1997
- Orig file:
v2.1.35/linux/drivers/net/loopback.c
- Orig date:
Mon Apr 14 16:28:12 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -39,6 +39,7 @@
#include <linux/errno.h>
#include <linux/fcntl.h>
#include <linux/in.h>
+#include <linux/init.h>
#include <asm/system.h>
#include <asm/uaccess.h>
@@ -114,7 +115,7 @@
}
/* Initialize the rest of the LOOPBACK device. */
-int loopback_init(struct device *dev)
+__initfunc(int loopback_init(struct device *dev))
{
dev->mtu = LOOPBACK_MTU;
dev->tbusy = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov