android_kernel_motorola_sm6225/drivers/net/ethernet/atheros/atlx
Fabio Estevam 98d2f0e68c atl1: Protect atl1_suspend with CONFIG_PM_SLEEP
commit 7b7a2bbb69 (atl1: Remove unneeded PM_OPS definitions) removed the
definition of atl1_suspend for the !CONFIG_PM_SLEEP case.

So only call atl1_suspend() when CONFIG_PM_SLEEP is defined and fix the
following build error from randconfig:

drivers/net/ethernet/atheros/atlx/atl1.c: In function 'atl1_shutdown':
drivers/net/ethernet/atheros/atlx/atl1.c:2888:2: error: implicit declaration of function 'atl1_suspend' [-Werror=implicit-function-declaration]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-16 17:46:24 -04:00
..
atl1.c atl1: Protect atl1_suspend with CONFIG_PM_SLEEP 2013-04-16 17:46:24 -04:00
atl1.h atl1: remove unused member from atl1_adapter structure 2012-04-16 14:21:21 -04:00
atl2.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
atl2.h atlx: Use ETH_ALEN 2012-03-19 16:53:08 -04:00
atlx.c net: remove unnecessary NET_ADDR_RANDOM "bitclean" 2013-01-03 22:37:36 -08:00
atlx.h atlx: Use ETH_ALEN 2012-03-19 16:53:08 -04:00
Makefile