patch-2.1.36 linux/drivers/net/sdla_ppp.c
Next file: linux/drivers/net/sdla_x25.c
Previous file: linux/drivers/net/sdla_fr.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Apr 22 22:42:50 1997
- Orig file:
v2.1.35/linux/drivers/net/sdla_ppp.c
- Orig date:
Fri Apr 4 08:52:21 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/net/sdla_ppp.c linux/drivers/net/sdla_ppp.c
@@ -25,6 +25,7 @@
#include <linux/router.h> /* WAN router definitions */
#include <linux/wanpipe.h> /* WANPIPE common user API definitions */
#include <linux/if_arp.h> /* ARPHRD_* defines */
+#include <linux/init.h> /* __initfunc et al. */
#include <asm/byteorder.h> /* htons(), etc. */
#define _GNUC_
@@ -107,7 +108,7 @@
* Return: 0 o.k.
* < 0 failure.
*/
-int wpp_init (sdla_t* card, wandev_conf_t* conf)
+__initfunc(int wpp_init (sdla_t* card, wandev_conf_t* conf))
{
union
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov