patch-2.3.27 linux/drivers/net/ppp_generic.c
Next file: linux/drivers/net/rcpci45.c
Previous file: linux/drivers/net/ppp_async.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Nov 9 11:50:49 1999
- Orig file:
v2.3.26/linux/drivers/net/ppp_generic.c
- Orig date:
Wed Oct 27 16:34:12 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/net/ppp_generic.c linux/drivers/net/ppp_generic.c
@@ -28,6 +28,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kmod.h>
+#include <linux/init.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/poll.h>
@@ -554,8 +555,7 @@
/* Called at boot time if ppp is compiled into the kernel,
or at module load time (from init_module) if compiled as a module. */
-int
-ppp_init(struct net_device *dev)
+int __init ppp_init(void)
{
int err;
#ifndef MODULE
@@ -1614,7 +1614,7 @@
int
init_module(void)
{
- ppp_init(0);
+ ppp_init();
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)