net: replace uses of __constant_{endian}
[deliverable/linux.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,
 };
 
This page took 0.075369 seconds and 5 git commands to generate.