kernel_optimize_test/drivers/net
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
..
appletalk
arcnet
bonding net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
caif
can can: peak_usb: fix mem leak in pcan_usb_pro_init() 2013-12-17 11:19:33 +01:00
cris
dsa
ethernet e1000e: Fix compilation warning when !CONFIG_PM_SLEEP 2014-01-16 15:36:26 -08:00
fddi
hamradio hamradio/yam: fix info leak in ioctl 2013-12-19 15:09:38 -05:00
hippi
hyperv hyperv: Fix race between probe and open calls 2013-12-21 22:23:06 -05:00
ieee802154
irda
phy phy: IRQ cannot be shared 2013-12-29 22:35:16 -05:00
plip
ppp net: rework recvmsg handler msg_name and msg_namelen logic 2013-11-20 21:52:30 -05:00
slip
team net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
usb dm9601: add USB IDs for new dm96xx variants 2014-01-14 17:36:19 -08:00
vmxnet3
wan
wimax
wireless net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
xen-netback xen-netback: Include header for vmalloc 2014-01-05 20:34:36 -05:00
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
macvtap.c macvtap: signal truncated packets 2013-12-11 15:23:06 -05:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c net: core: explicitly select a txq before doing l2 forwarding 2014-01-10 13:23:08 -05:00
veth.c
virtio_net.c virtio-net: fix refill races during restore 2014-01-02 19:23:03 -05:00
vxlan.c {vxlan, inet6} Mark vxlan_dev flags with VXLAN_F_IPV6 properly 2014-01-03 20:36:00 -05:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-19 15:50:47 -08:00