[PATCH 1/2] arm/pxa: Enable check_scoop_reg() only if CONFIG_PM is set.

Eric Miao eric.y.miao at gmail.com
Thu Feb 18 01:38:42 EST 2010


On Wed, Feb 17, 2010 at 5:41 AM, Stefan Schmidt
<stefan at datenfreihafen.org> wrote:
> This function gets only called from scoop_suspend() and scoop_resume() which are
> only built in if we have CONFIG_PM set. Make it the same for check_scoop_reg().
>
> This fixes the following warning:
> arch/arm/common/scoop.c:143: warning: ‘check_scoop_reg’ defined but not used
>
> Signed-off-by: Stefan Schmidt <stefan at datenfreihafen.org>

Applied to 'devel'.



More information about the linux-arm-kernel mailing list