diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2015-03-20 15:22:02 +0100 |
---|---|---|
committer | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2015-09-23 08:44:28 +0200 |
commit | 54a84c61823e2069da2c7ad91518ff7625129ce5 (patch) | |
tree | 1080872d1bc7f311abbd8a5b26c68529fa69c739 /drivers/net/arcnet/capmode.c | |
parent | 4b0dad83c53b4a6a29be47dc3acc8623be36e7dd (diff) | |
download | lwn-54a84c61823e2069da2c7ad91518ff7625129ce5.tar.gz lwn-54a84c61823e2069da2c7ad91518ff7625129ce5.zip |
arcnet: reformat structs to C99 format
This patch changes the macro definitions to match the C99
formating. This improves the readability.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/capmode.c')
-rw-r--r-- | drivers/net/arcnet/capmode.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/net/arcnet/capmode.c b/drivers/net/arcnet/capmode.c index 2f2d0d94a80d..8297e004dc26 100644 --- a/drivers/net/arcnet/capmode.c +++ b/drivers/net/arcnet/capmode.c @@ -230,14 +230,12 @@ free_outskb: } static struct ArcProto capmode_proto = { - 'r', - XMTU, - 0, - rx, - build_header, - prepare_tx, - NULL, - ack_tx + .suffix = 'r', + .mtu = XMTU, + .rx = rx, + .build_header = build_header, + .prepare_tx = prepare_tx, + .ack_tx = ack_tx }; static void arcnet_cap_init(void) |