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 = { ...@@ -315,15 +315,9 @@ static struct atmdev_ops atmtcp_c_dev_ops = {
static struct atm_dev atmtcp_control_dev = { static struct atm_dev atmtcp_control_dev = {
&atmtcp_c_dev_ops, .ops = &atmtcp_c_dev_ops,
NULL, /* no PHY */ .type = "atmtcp",
"atmtcp", /* type */ .number = 999,
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 */
}; };
......
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