git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: replace uses of __constant_{endian}
[safe/jmp/linux-2.6]
/
net
/
ax25
/
af_ax25.c
diff --git
a/net/ax25/af_ax25.c
b/net/ax25/af_ax25.c
index
00d9e5e
..
d127fd3
100644
(file)
--- a/
net/ax25/af_ax25.c
+++ b/
net/ax25/af_ax25.c
@@
-1986,7
+1986,7
@@
static const struct proto_ops ax25_proto_ops = {
* Called by socket.c on kernel start up
*/
static struct packet_type ax25_packet_type = {
- .type =
__constant_htons
(ETH_P_AX25),
+ .type =
cpu_to_be16
(ETH_P_AX25),
.dev = NULL, /* All devices */
.func = ax25_kiss_rcv,
};