diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-06-01 03:16:17 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-06-01 03:16:17 +0000 |
commit | d8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch) | |
tree | 3067bc130b80d52808e6390c9fc7fc087ec1e33c /net/802/psnap.c | |
parent | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff) |
Initial revision
Diffstat (limited to 'net/802/psnap.c')
-rw-r--r-- | net/802/psnap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c index bdcb5efd2..6ce58da35 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c @@ -19,6 +19,7 @@ #include <net/psnap.h> #include <linux/mm.h> #include <linux/in.h> +#include <linux/init.h> static struct datalink_proto *snap_list = NULL; static struct datalink_proto *snap_dl = NULL; /* 802.2 DL for SNAP */ @@ -87,7 +88,7 @@ static void snap_datalink_header(struct datalink_proto *dl, struct sk_buff *skb, EXPORT_SYMBOL(register_snap_client); EXPORT_SYMBOL(unregister_snap_client); -void snap_proto_init(struct net_proto *pro) +__initfunc(void snap_proto_init(struct net_proto *pro)) { snap_dl=register_8022_client(0xAA, snap_rcv); if(snap_dl==NULL) |