From: Mathias Krause Date: Wed, 16 Jul 2014 17:43:06 +0000 (+0200) Subject: acer-wmi: Hide acer_{suspend,resume} for !CONFIG_PM_SLEEP X-Git-Tag: omap-for-v3.17/fixes-against-rc2~44^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80f65558bdd14c0a113cd085582d578a3a3a1976;p=pandora-kernel.git acer-wmi: Hide acer_{suspend,resume} for !CONFIG_PM_SLEEP Encapsulate acer_suspend() and acer_resume with #ifdef CONFIG_PM_SLEEP to get rid of the following warnings: ../acer-wmi.c:2046:12: warning: ‘acer_suspend’ defined but not used [-Wunused-function] ../acer-wmi.c:2068:12: warning: ‘acer_resume’ defined but not used [-Wunused-function] Signed-off-by: Mathias Krause Cc: "Lee, Chun-Yi" Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed