]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wan/lapbether.c
net: replace uses of __constant_{endian}
[net-next-2.6.git] / drivers / net / wan / lapbether.c
index 5b61b3eef45f5b19da53e8e249b02895eaa6657a..da9dcf59de243d8bbfad5458e1f1d9ecb0491f6c 100644 (file)
@@ -422,7 +422,7 @@ static int lapbeth_device_event(struct notifier_block *this,
 /* ------------------------------------------------------------------------ */
 
 static struct packet_type lapbeth_packet_type = {
-       .type = __constant_htons(ETH_P_DEC),
+       .type = cpu_to_be16(ETH_P_DEC),
        .func = lapbeth_rcv,
 };