[AX25]: endian-annotate ax25_type_trans()
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 20 Jun 2005 20:31:11 +0000 (13:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jun 2005 20:31:11 +0000 (13:31 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ax25.h

index 9e6368a5454760fa9bc1c56fc691b110474094b3..828a3a93dda10e07ce851476894296f5b7e4a68f 100644 (file)
@@ -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;