]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/dsa/tag_trailer.c
net: convert usage of packet_type to read_mostly
[karo-tx-linux.git] / net / dsa / tag_trailer.c
index d7e7f424ff0c4a09c6bccb8cdff5fbbe556e687e..a6d959da678478eda1d888e66b1bf05e258dbc04 100644 (file)
@@ -111,7 +111,7 @@ out:
        return 0;
 }
 
-static struct packet_type trailer_packet_type = {
+static struct packet_type trailer_packet_type __read_mostly = {
        .type   = cpu_to_be16(ETH_P_TRAILER),
        .func   = trailer_rcv,
 };