linux-pinenote/drivers/net/ethernet/intel/e1000e
Kevin Hao 72f72dcc14 e1000e: fix the build error when PM is disabled
The commit 2800209994 (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>
2014-03-18 13:25:41 -04:00
..
80003es2lan.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
80003es2lan.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
82571.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
82571.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
defines.h e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) 2014-03-07 22:52:07 -08:00
e1000.h e1000e Refactor of Runtime Power Management 2014-03-07 22:30:59 -08:00
ethtool.c e1000e: Fix ethtool offline tests for 82579 parts 2014-03-07 23:48:58 -08:00
hw.h e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) 2014-03-07 22:52:07 -08:00
ich8lan.c e1000e: Fix SHRA register access for 82579 2014-03-07 23:56:16 -08:00
ich8lan.h e1000e: Fix SHRA register access for 82579 2014-03-07 23:56:16 -08:00
mac.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
mac.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
Makefile e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
netdev.c e1000e: fix the build error when PM is disabled 2014-03-18 13:25:41 -04:00
nvm.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
nvm.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
param.c e1000e: Fix not generating an error on invalid load parameter 2014-03-07 23:06:41 -08:00
phy.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
phy.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
ptp.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
regs.h e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) 2014-03-07 22:52:07 -08:00