]> 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)
commitd8fb6acaa59e44953c24ddb926a6fcbfcaadfe91
tree71d298b46dea34756a8273467111f39de854d373
parent9bc553e0c7cc6ebbb1c2e82ed1d5d3388289aecd
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