X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fhdlc.h;h=df695e9ae32761a2bef2611c0c06b03e94fb5429;hb=3874b98c655b9490bea1cf9c7697d5dc5338376f;hp=ed2927ef1ff7e5436a5257e38243066edfb8d5ef;hpb=3e0777b8fa96f7073ed5d13d3bc1d573b766bef9;p=linux-2.6 diff --git a/include/linux/hdlc.h b/include/linux/hdlc.h index ed2927ef1f..df695e9ae3 100644 --- a/include/linux/hdlc.h +++ b/include/linux/hdlc.h @@ -242,8 +242,8 @@ static __inline__ struct net_device_stats *hdlc_stats(struct net_device *dev) } -static __inline__ unsigned short hdlc_type_trans(struct sk_buff *skb, - struct net_device *dev) +static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb, + struct net_device *dev) { hdlc_device *hdlc = dev_to_hdlc(dev);