From: Axel Lin Date: Mon, 2 Jul 2012 08:53:52 +0000 (+0800) Subject: mfd: Guard adp5520 PM methods with CONFIG_PM_SLEEP X-Git-Tag: v3.6-rc1~47^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938848e7a5550ce28036ab30e2900b4672a540ee;p=pandora-kernel.git mfd: Guard adp5520 PM methods with CONFIG_PM_SLEEP This fixes below build warnings: CC drivers/mfd/adp5520.o drivers/mfd/adp5520.c:324:12: warning: 'adp5520_suspend' defined but not used [-Wunused-function] drivers/mfd/adp5520.c:333:12: warning: 'adp5520_resume' defined but not used [-Wunused-function] Signed-off-by: Axel Lin Acked-by: Michael Hennerich Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed