diff options
Diffstat (limited to 'net/802/psnap.c')
-rw-r--r-- | net/802/psnap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c index 8c077d46f..7d8b12047 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c @@ -39,7 +39,7 @@ static struct datalink_proto *find_snap_client(unsigned char *desc) * A SNAP packet has arrived */ -int snap_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt) +int snap_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt) { static struct packet_type psnap_packet_type = { @@ -89,7 +89,7 @@ static void snap_datalink_header(struct datalink_proto *dl, struct sk_buff *skb, EXPORT_SYMBOL(register_snap_client); EXPORT_SYMBOL(unregister_snap_client); -__initfunc(void snap_proto_init(struct net_proto *pro)) +void __init snap_proto_init(struct net_proto *pro) { snap_dl=register_8022_client(0xAA, snap_rcv); if(snap_dl==NULL) @@ -100,7 +100,7 @@ __initfunc(void snap_proto_init(struct net_proto *pro)) * Register SNAP clients. We don't yet use this for IP. */ -struct datalink_proto *register_snap_client(unsigned char *desc, int (*rcvfunc)(struct sk_buff *, struct device *, struct packet_type *)) +struct datalink_proto *register_snap_client(unsigned char *desc, int (*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *)) { struct datalink_proto *proto; |