]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/irda/irmod.c
Merge current mainline tree into linux-omap tree
[linux-2.6-omap-h63xx.git] / net / irda / irmod.c
index 4c487a883725e7f3ad4c98c567a248b16880688c..303a68d92731085226366bbd72579ea4c7d97027 100644 (file)
@@ -55,8 +55,8 @@ EXPORT_SYMBOL(irda_debug);
 /* Packet type handler.
  * Tell the kernel how IrDA packets should be handled.
  */
-static struct packet_type irda_packet_type = {
-       .type   = __constant_htons(ETH_P_IRDA),
+static struct packet_type irda_packet_type __read_mostly = {
+       .type   = cpu_to_be16(ETH_P_IRDA),
        .func   = irlap_driver_rcv,     /* Packet type handler irlap_frame.c */
 };