]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/bridge/netfilter/ebtable_filter.c
[NETFILTER]: bridge netfilter: use non-deprecated __RW_LOCK_UNLOCKED macro.
[linux-2.6-omap-h63xx.git] / net / bridge / netfilter / ebtable_filter.c
index fb810908732f6b420de1ada658915fa80463ae8e..690bc3ab186c67cee4ba7844bc19b32ba2c2aafb 100644 (file)
@@ -55,7 +55,7 @@ static struct ebt_table frame_filter =
        .name           = "filter",
        .table          = &initial_table,
        .valid_hooks    = FILTER_VALID_HOOKS,
-       .lock           = RW_LOCK_UNLOCKED,
+       .lock           = __RW_LOCK_UNLOCKED(frame_filter.lock),
        .check          = check,
        .me             = THIS_MODULE,
 };