patch-2.1.36 linux/drivers/net/plip.c
Next file: linux/drivers/net/ppp.c
Previous file: linux/drivers/net/pi2.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Apr 22 22:42:49 1997
- Orig file:
v2.1.35/linux/drivers/net/plip.c
- Orig date:
Sun Apr 13 10:18:21 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/net/plip.c linux/drivers/net/plip.c
@@ -1,4 +1,4 @@
-/* $Id: plip.c,v 1.1.1.1.2.6 1997/03/26 17:52:20 phil Exp $ */
+/* $Id: plip.c,v 1.3.6.2 1997/04/16 15:07:56 phil Exp $ */
/* PLIP: A parallel port "network" driver for Linux. */
/* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */
/*
@@ -95,6 +95,7 @@
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/lp.h>
+#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
@@ -223,8 +224,8 @@
then calls us here.
*/
-int
-plip_init_dev(struct device *dev, struct parport *pb)
+__initfunc(int
+plip_init_dev(struct device *dev, struct parport *pb))
{
struct net_local *nl;
struct ppd *pardev;
@@ -1190,8 +1191,8 @@
return 0;
}
-int
-plip_init(void)
+__initfunc(int
+plip_init(void))
{
struct parport *pb = parport_enumerate();
int devices=0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov