bus/pci: do not use kernel version to determine MSIX defines
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 27 Dec 2017 18:25:40 +0000 (10:25 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jan 2018 22:56:08 +0000 (23:56 +0100)
commita12f226789156ed1f2f5639567408379fe2e6a46
tree5ddfdc0710653cd7481671088fe54e47503477d7
parente6227d1edaaa765ea2c019333072d7c08f7e7b6a
bus/pci: do not use kernel version to determine MSIX defines

In real life, kernel version is only weakly corolated with presence
or absence of defines in header files. Instead, check directly if
the needed value is defined.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/bus/pci/linux/pci_init.h