git.openpandora.org
/
pandora-kernel.git
/ 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}
[pandora-kernel.git]
/
drivers
/
net
/
myri_sbus.c
diff --git
a/drivers/net/myri_sbus.c
b/drivers/net/myri_sbus.c
index
899ed06
..
88b5288
100644
(file)
--- a/
drivers/net/myri_sbus.c
+++ b/
drivers/net/myri_sbus.c
@@
-748,7
+748,7
@@
static int myri_rebuild_header(struct sk_buff *skb)
switch (eth->h_proto)
{
#ifdef CONFIG_INET
- case
__constant_htons
(ETH_P_IP):
+ case
cpu_to_be16
(ETH_P_IP):
return arp_find(eth->h_dest, skb);
#endif