]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: fix compile when CONFIG_PCI_IOV is not enabled
authorRoopa Prabhu <roprabhu@cisco.com>
Thu, 19 Jan 2012 22:25:36 +0000 (22:25 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:10 +0000 (08:22 +0800)
commit156206497e7c57bb79aa26f9ea0053fa1f326a8f
treed35d8d712a72aaf9d5f64ca7c6e3614bab87a4ae
parent147cf7e81c29485acc86d21602bba8f4017619c9
enic: fix compile when CONFIG_PCI_IOV is not enabled

reverting back change that access enic->num_vfs outside
CONFIG_PCI_IOV

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
(cherry picked from commit b67f231ded332461dd31123c4f659c4681223fb1)
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/enic/enic_main.c