]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: com20020-pci: add missing pdev setup in netdev structure
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 28 Jun 2017 16:28:37 +0000 (18:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:18:37 +0000 (15:18 -0400)
commit1018bc617db61ab31eb8eb74b62dac9eb67cfea4
tree71d298b46dea34756a8273467111f39de854d373
parent2ad6b6f7bdd685e2d4d37d8a904beab6509bbe60
arcnet: com20020-pci: add missing pdev setup in netdev structure

We add the pdev data to the pci devices netdev structure. This way
the interface get consistent device names in the userspace (udev).

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/com20020-pci.c