genetlink: mark families as __ro_after_init
[linux-2.6-block.git] / drivers / net / gtp.c
index 0604fd78f8261f9e7920c29d4a193073a7be0596..719d19f35673fb4235df4cd2254347410a5b2d22 100644 (file)
@@ -1290,7 +1290,7 @@ static const struct genl_ops gtp_genl_ops[] = {
        },
 };
 
-static struct genl_family gtp_genl_family = {
+static struct genl_family gtp_genl_family __ro_after_init = {
        .name           = "gtp",
        .version        = 0,
        .hdrsize        = 0,