Skip to content
Commit 27ae2967 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e689e728
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment