patch-2.1.37 linux/net/802/p8022tr.c
Next file: linux/net/802/psnap.c
Previous file: linux/net/802/p8022.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 12 10:35:44 1997
- Orig file:
v2.1.36/linux/net/802/p8022tr.c
- Orig date:
Fri Jan 3 01:33:27 1997
diff -u --recursive --new-file v2.1.36/linux/net/802/p8022tr.c linux/net/802/p8022tr.c
@@ -15,6 +15,7 @@
#include <net/datalink.h>
#include <linux/mm.h>
#include <linux/in.h>
+#include <linux/init.h>
#include <net/p8022tr.h>
#define SNAP_HEADER_LEN 8
@@ -91,7 +92,7 @@
EXPORT_SYMBOL(register_8022tr_client);
EXPORT_SYMBOL(unregister_8022tr_client);
-void p8022tr_proto_init(struct net_proto *pro)
+__initfunc(void p8022tr_proto_init(struct net_proto *pro))
{
p8022tr_packet_type.type=htons(ETH_P_TR_802_2);
dev_add_pack(&p8022tr_packet_type);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov