X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fllc%2Faf_llc.c;h=190bb3e051881fa1455f4456bff39e890ad0cc20;hb=f2aca47dc3c2d0c2d5dbd972558557e74232bbce;hp=2652ead96c64e329b7c2f929316d1324d8aecfd5;hpb=00dd7b7d26a3bf3780cfcebfdde2b86126b3a082;p=linux-2.6-omap-h63xx.git diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 2652ead96c6..190bb3e0518 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c @@ -64,7 +64,7 @@ static inline u16 llc_ui_next_link_no(int sap) * * Given an ARP header type return the corresponding ethernet protocol. */ -static inline u16 llc_proto_type(u16 arphrd) +static inline __be16 llc_proto_type(u16 arphrd) { return arphrd == ARPHRD_IEEE802_TR ? htons(ETH_P_TR_802_2) : htons(ETH_P_802_2);