patch-2.1.36 linux/drivers/net/sdla_x25.c

Next file: linux/drivers/net/sdladrv.c
Previous file: linux/drivers/net/sdla_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/net/sdla_x25.c linux/drivers/net/sdla_x25.c
@@ -24,6 +24,7 @@
 #include <linux/malloc.h>	/* kmalloc(), kfree() */
 #include <linux/router.h>	/* WAN router definitions */
 #include <linux/wanpipe.h>	/* WANPIPE common user API definitions */
+#include <linux/init.h>		/* __initfunc et al. */
 #include <asm/byteorder.h>	/* htons(), etc. */
 
 #define	_GNUC_
@@ -168,7 +169,7 @@
  * Return:	0	o.k.
  *		< 0	failure.
  */
-int wpx_init (sdla_t* card, wandev_conf_t* conf)
+__initfunc(int wpx_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