]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: use pci drvdata correctly in ixgbevf_suspend()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 16 Jan 2014 10:30:07 +0000 (02:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 23:34:24 +0000 (15:34 -0800)
commit33bd737aa429d8013a2e8d286061830d8d89e805
tree98fb6c82c336fe552591b2634e0a5bdfe986286c
parente9f15c61747c2df1bdc4ad9e177b379c2330aa30
ixgbevf: use pci drvdata correctly in ixgbevf_suspend()

We had set the pci driver-specific data in ixgbevf_probe() as a type of
struct net_device, so we should use it as netdev in ixgbevf_suspend().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c