]> Pileus Git - ~andy/linux/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)
commit27ae296716e527e5e5f0b54bc92739a2864d2b9a
tree98fb6c82c336fe552591b2634e0a5bdfe986286c
parente689e72823e73361147849c416e5da5c4bcc8ddf
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