X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fx25device.h;h=d45ae883bd1dabebf1e304bf29e6e5c382267a5f;hb=6d1d07e41a1de478a0da3cc14b4a8054ef09931c;hp=cf36a20ea3c523459485e92d469366504541599e;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/include/net/x25device.h b/include/net/x25device.h index cf36a20ea3..d45ae883bd 100644 --- a/include/net/x25device.h +++ b/include/net/x25device.h @@ -5,8 +5,7 @@ #include #include -static inline unsigned short x25_type_trans(struct sk_buff *skb, - struct net_device *dev) +static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) { skb->mac.raw = skb->data; skb->input_dev = skb->dev = dev;