From: Rafael J. Wysocki Date: Thu, 9 Aug 2012 21:00:35 +0000 (+0200) Subject: tpm_tis / PM: Fix unused function warning for CONFIG_PM_SLEEP X-Git-Tag: v3.6-rc2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07368d32f1a67e797def08cf2ee3ea1647b204b6;p=pandora-kernel.git tpm_tis / PM: Fix unused function warning for CONFIG_PM_SLEEP According to a compiler warning, the tpm_tis_resume() function is not used for CONFIG_PM_SLEEP unset, so add a #ifdef to prevent it from being built in that case. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed