From: Alexey Dobriyan Date: Mon, 20 Jun 2005 20:31:11 +0000 (-0700) Subject: [AX25]: endian-annotate ax25_type_trans() X-Git-Tag: v2.6.13-rc4~130^2~203^2~1^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f852640e74f71e6dd38146e1149ec1fe6da2fb07;p=linux-2.6-omap-h63xx.git [AX25]: endian-annotate ax25_type_trans() Signed-off-by: Alexey Dobriyan Acked-by: Ralf Baechle Signed-off-by: David S. Miller --- diff --git a/include/net/ax25.h b/include/net/ax25.h index 9e6368a5454..828a3a93dda 100644 --- a/include/net/ax25.h +++ b/include/net/ax25.h @@ -220,7 +220,7 @@ static __inline__ void ax25_cb_put(ax25_cb *ax25) } } -static inline unsigned short ax25_type_trans(struct sk_buff *skb, struct net_device *dev) +static inline __be16 ax25_type_trans(struct sk_buff *skb, struct net_device *dev) { skb->dev = dev; skb->pkt_type = PACKET_HOST;