summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40e_common.c
diff options
context:
space:
mode:
authorKevin Hao2014-03-18 08:26:49 +0100
committerDavid S. Miller2014-03-18 18:25:41 +0100
commit72f72dcc146fd7c4f9a8544626b961d52f1399b3 (patch)
tree351ecd0d3a69a3ba4c96933e35dfc601852c41a3 /drivers/net/ethernet/intel/i40evf/i40e_common.c
parentigb: remove references to long gone command line parameters (diff)
downloadkernel-qcow2-linux-72f72dcc146fd7c4f9a8544626b961d52f1399b3.tar.gz
kernel-qcow2-linux-72f72dcc146fd7c4f9a8544626b961d52f1399b3.tar.xz
kernel-qcow2-linux-72f72dcc146fd7c4f9a8544626b961d52f1399b3.zip
e1000e: fix the build error when PM is disabled
The commit 2800209994f8 (e1000e: Refactor PM flows) changed the SET_SYSTEM_SLEEP_PM_OPS to open-coded assignment, but forgot to protect them with CONFIG_PM_SLEEP. Then cause the following build error when PM is disabled: drivers/net/ethernet/intel/e1000e/netdev.c:7079:13: error: 'e1000e_pm_suspend' undeclared here (not in a function) .suspend = e1000e_pm_suspend, ^ drivers/net/ethernet/intel/e1000e/netdev.c:7080:13: error: 'e1000e_pm_resume' undeclared here (not in a function) .resume = e1000e_pm_resume, ^ drivers/net/ethernet/intel/e1000e/netdev.c:7082:11: error: 'e1000e_pm_thaw' undeclared here (not in a function) .thaw = e1000e_pm_thaw, ^ Signed-off-by: Kevin Hao <haokexin@gmail.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_common.c')
0 files changed, 0 insertions, 0 deletions