gigaset: return -ENOTTY for unimplemented functions
[deliverable/linux.git] / net / ax25 / af_ax25.c
index 00d9e5e131582669cab51f01b91b43c204ea0da8..d127fd3ba5c6acd8a7c3ce0f6b4ea5ee8b25f47b 100644 (file)
@@ -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,
 };
This page took 0.03 seconds and 5 git commands to generate.