]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wimax/i2400m/netdev.c
wimax: replace uses of __constant_{endian}
[net-next-2.6.git] / drivers / net / wimax / i2400m / netdev.c
index 57159e4bbfe1e53853e315d5829b3cd247b5af04..be8be4d0709c0963006b0243bce14b6d1e3e75ce 100644 (file)
@@ -419,7 +419,7 @@ void i2400m_rx_fake_eth_header(struct net_device *net_dev,
 
        memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest));
        memset(eth_hdr->h_source, 0, sizeof(eth_hdr->h_dest));
-       eth_hdr->h_proto = __constant_cpu_to_be16(ETH_P_IP);
+       eth_hdr->h_proto = cpu_to_be16(ETH_P_IP);
 }