[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081030094407.GA5742@x200.localdomain>
Date: Thu, 30 Oct 2008 12:44:07 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org
Subject: [PATCH] xfrm: C99 for xfrm_dev_notifier
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---
net/xfrm/xfrm_policy.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -2379,9 +2379,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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists