[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130416.174727.1740704241508622375.davem@davemloft.net>
Date: Tue, 16 Apr 2013 17:47:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: festevam@...il.com
Cc: netdev@...r.kernel.org, joe@...ches.com,
fabio.estevam@...escale.com
Subject: Re: [PATCH] atl1: Protect atl1_suspend with CONFIG_PM_SLEEP
From: Fabio Estevam <festevam@...il.com>
Date: Tue, 16 Apr 2013 18:35:00 -0300
> From: Fabio Estevam <fabio.estevam@...escale.com>
>
> commit 7b7a2bbb690 (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@...el.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists