linux_dsm_epyc7002/drivers/net/ethernet
Mika Westerberg 38a529b5d4 e1000e: Fix compilation warning when !CONFIG_PM_SLEEP
Commit 7509963c70 (e1000e: Fix a compile flag mis-match for
suspend/resume) moved suspend and resume hooks to be available when
CONFIG_PM is set. However, it can be set even if CONFIG_PM_SLEEP is not set
causing following warnings to be emitted:

drivers/net/ethernet/intel/e1000e/netdev.c:6178:12: warning:
  	‘e1000_suspend’ defined but not used [-Wunused-function]

drivers/net/ethernet/intel/e1000e/netdev.c:6185:12: warning:
	‘e1000_resume’ defined but not used [-Wunused-function]

To fix this make the hooks to be available only when CONFIG_PM_SLEEP is set
and remove CONFIG_PM wrapping from driver ops because this is already
handled by SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS().

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Dave Ertman <davidx.m.ertman@intel.com>
Cc: Aaron Brown <aaron.f.brown@intel.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 15:36:26 -08:00
..
3com
8390 Revert "8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature" 2013-12-11 17:20:31 -05:00
adaptec
adi
aeroflex
allwinner net: allwinner: emac: Add missing free_irq 2013-12-10 18:01:10 -05:00
alteon
amd
apple
arc arc_emac: fix potential use after free 2013-12-27 13:00:31 -05:00
atheros atl1c: Check return from pci_find_ext_capability() in atl1c_reset_pcie() 2013-12-19 19:14:42 -05:00
broadcom bnx2x: Don't release PCI bars on shutdown 2014-01-15 16:48:34 -08:00
brocade
cadence
calxeda
chelsio cxgb4: silence shift wrapping static checker warning 2014-01-13 11:15:58 -08:00
cirrus
cisco
davicom
dec
dlink
emulex be2net: add dma_mapping_error() check for dma_map_page() 2014-01-15 16:50:32 -08:00
faraday
freescale fec: Revert "fec: Do not assume that PHY reset is active low" 2014-01-05 20:24:28 -05:00
fujitsu
hp
i825xx
ibm net: do not pretend FRAGLIST support 2013-12-02 17:16:29 -05:00
icplus
intel e1000e: Fix compilation warning when !CONFIG_PM_SLEEP 2014-01-16 15:36:26 -08:00
marvell net: mvmdio: fix interrupt timeout handling 2013-12-19 19:20:44 -05:00
mellanox net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
micrel
microchip
moxa
myricom
natsemi
neterion
nuvoton
nvidia forcedeth: run loopback test only on chipsets that support it 2013-12-05 20:59:22 -05:00
nxp
octeon
oki-semi
packetengines
pasemi
qlogic qlge: Fix vlan netdev features. 2014-01-14 19:02:35 -08:00
rdc
realtek
renesas
seeq
sfc sfc: Poll for MCDI completion once before timeout occurs 2013-12-06 22:27:55 +00:00
sgi
silan
sis
smsc net: smc91x: Fix device tree based configuration so it's usable 2013-12-11 16:36:22 -05:00
stmicro stmmac: Fix incorrect spinlock release and PTP cap detection. 2013-12-29 22:37:00 -05:00
sun
tehuti net: do not pretend FRAGLIST support 2013-12-02 17:16:29 -05:00
ti drivers: net : cpsw: pass proper device name while requesting irq 2013-12-22 18:22:15 -05:00
tile net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
toshiba
tundra
via net,via-rhine: Fix tx_timeout handling 2014-01-15 15:21:08 -08:00
wiznet
xilinx net: emaclite: add barriers to support Xilinx Zynq platform 2013-12-09 21:02:25 -05:00
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
Makefile
netx-eth.c
s6gmac.c