]> git.baikalelectronics.ru Git - kernel.git/commit
irda: irnet: add member name to the miscdevice declaration
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 15 Dec 2016 10:42:50 +0000 (11:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 16:29:31 +0000 (11:29 -0500)
commit4b189bfb5d20756b270788ff86dda3b2cb92b60a
tree57cf81c0d62f0776b81006f2c84ce023450fbafc
parent2e53449596c86caaedb731a1e00b26a55650d67d
irda: irnet: add member name to the miscdevice declaration

Since the struct miscdevice have many members, it is dangerous to init
it without members name relying only on member order.

This patch add member name to the init declaration.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irnet/irnet_ppp.h