kni: fix build with kernel 4.8
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Sep 2016 18:32:09 +0000 (19:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 21 Sep 2016 16:15:18 +0000 (18:15 +0200)
commit7f5565592c5ab2f3541951d2b4e65188d01d5d00
treec94d2fc14ba9664f5f16a6c2d04c7de71c950731
parentac11f6e84ab1a7cd859a42bb812c8b460a311641
kni: fix build with kernel 4.8

Linux kernel v4.8 removes macro DEFINE_PCI_DEVICE_TABLE

Linux: 7e9321599011 ("treewide: remove references to the now unnecessary
DEFINE_PCI_DEVICE_TABLE")

Replaced macro with its value in kni ethtool drivers.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c