o atmtcp: fix struct initialization

Fix this warning:
drivers/atm/atmtcp.c:324: warning: braces around scalar initializer

Also convert it to C99 style initialization
parent a1c66101
......@@ -315,15 +315,9 @@ static struct atmdev_ops atmtcp_c_dev_ops = {
static struct atm_dev atmtcp_control_dev = {
&atmtcp_c_dev_ops,
NULL, /* no PHY */
"atmtcp", /* type */
999, /* dummy device number */
NULL,NULL, /* pretend not to have any VCCs */
NULL,NULL, /* no data */
{ 0 }, /* no flags */
NULL, /* no local address */
{ 0 } /* no ESI, no statistics */
.ops = &atmtcp_c_dev_ops,
.type = "atmtcp",
.number = 999,
};
......
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