enic: fix vfio inclusion
authorSujith Sankar <ssujith@cisco.com>
Thu, 27 Nov 2014 17:14:40 +0000 (22:44 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 27 Nov 2014 20:20:42 +0000 (21:20 +0100)
commit80083092aa44a0582d8705656a280f3aa7e53817
treee099dc699c30e0ecf8d022c73f73e794b560da48
parentf97ae91fcbea16975fde288e1ca5d838c4015df4
enic: fix vfio inclusion

Inclusion of vfio.h was giving compilation errors if kernel version is less
than 3.6.0 and if RTE_EAL_VFIO was in config.

Removed inclusion of vfio.h and replaced RTE_EAL_VFIO with VFIO_PRESENT.

Reported-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_enic/enic_main.c