xfrm: C99 for xfrm_dev_notifier
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 31 Oct 2008 07:41:59 +0000 (00:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2008 07:41:59 +0000 (00:41 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index 9d88c3df804a7ff30f4a294b2b65c8cb97aba1f8..f072598c8d688d94accc20ba2f40460c3a823b3e 100644 (file)
@@ -2381,9 +2381,7 @@ static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void
 }
 
 static struct notifier_block xfrm_dev_notifier = {
-       xfrm_dev_event,
-       NULL,
-       0
+       .notifier_call  = xfrm_dev_event,
 };
 
 #ifdef CONFIG_XFRM_STATISTICS