[NETFILTER]: Use non-deprecated __RW_LOCK_UNLOCKED macro
[pandora-kernel.git] / net / ipv4 / netfilter / iptable_raw.c
index 4b68974..fddce77 100644 (file)
@@ -39,7 +39,7 @@ static struct
 static struct xt_table packet_raw = {
        .name = "raw",
        .valid_hooks =  RAW_VALID_HOOKS,
-       .lock = RW_LOCK_UNLOCKED,
+       .lock = __RW_LOCK_UNLOCKED(packet_raw.lock),
        .me = THIS_MODULE,
        .af = AF_INET,
 };