From: Stefan Schmidt Date: Tue, 16 Feb 2010 21:41:52 +0000 (+0100) Subject: [ARM] pxa: enable check_scoop_reg() only if CONFIG_PM is set. X-Git-Tag: v2.6.34-rc2~66^2~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfab57e0e44631b1369e05efa54031b993511c2f;p=pandora-kernel.git [ARM] pxa: enable check_scoop_reg() only if CONFIG_PM is set. 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 Signed-off-by: Eric Miao --- Reading git-diff-tree failed