X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fhdlc.h;h=df695e9ae32761a2bef2611c0c06b03e94fb5429;hb=6d1d07e41a1de478a0da3cc14b4a8054ef09931c;hp=ed2927ef1ff7e5436a5257e38243066edfb8d5ef;hpb=0e396ee43e445cb7c215a98da4e76d0ce354d9d7;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);