Commit 0ed14272 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

ip_gre.c: Use named struct initializers

parent d5e15dc8
...@@ -120,11 +120,13 @@ static int ipgre_tunnel_init(struct net_device *dev); ...@@ -120,11 +120,13 @@ static int ipgre_tunnel_init(struct net_device *dev);
static int ipgre_fb_tunnel_init(struct net_device *dev); static int ipgre_fb_tunnel_init(struct net_device *dev);
static struct net_device ipgre_fb_tunnel_dev = { static struct net_device ipgre_fb_tunnel_dev = {
"gre0", 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, NULL, ipgre_fb_tunnel_init, name: "gre0",
init: ipgre_fb_tunnel_init
}; };
static struct ip_tunnel ipgre_fb_tunnel = { static struct ip_tunnel ipgre_fb_tunnel = {
NULL, &ipgre_fb_tunnel_dev, {0, }, 0, 0, 0, 0, 0, 0, 0, {"gre0", } dev: &ipgre_fb_tunnel_dev,
parms: { name: "gre0" }
}; };
/* Tunnel hash table */ /* Tunnel hash table */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment