o atm/lec.c: use C99 struct init style

parent 7618541e
...@@ -552,15 +552,9 @@ static struct atmdev_ops lecdev_ops = { ...@@ -552,15 +552,9 @@ static struct atmdev_ops lecdev_ops = {
}; };
static struct atm_dev lecatm_dev = { static struct atm_dev lecatm_dev = {
&lecdev_ops, .ops = &lecdev_ops,
NULL, /*PHY*/ .type = "lec",
"lec", /*type*/ .number = 999, /* dummy device number */
999, /*dummy device number*/
NULL,NULL, /*no VCCs*/
NULL,NULL, /*no data*/
0, /*no flags*/
NULL, /* no local address*/
{ 0 } /*no ESI or rest of the atm_dev struct things*/
}; };
/* /*
......
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