net/nfp: localize mapping of ethdev to PCI device
authorJan Blunck <jblunck@infradead.org>
Fri, 23 Dec 2016 15:58:07 +0000 (16:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 25 Dec 2016 22:18:28 +0000 (23:18 +0100)
commit230862e88ab0296afbd162d542ec87ab8a26f7d3
treee3ce381b96bc5cf226746c911cf63c8e72d326df
parentd4b7f6734fac4d046a4dafc6491359a11f02a694
net/nfp: localize mapping of ethdev to PCI device

This simplifies later changes to ethdev.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
drivers/net/nfp/nfp_net.c