aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2015-01-19 03:43:40 -0500
committerPeter Huewe <peterhuewe@gmx.de>2015-01-19 14:46:50 -0500
commit914309995ed5c6c737df4135ac5ba2b67cff194d (patch)
treed4659beb473160357b0d2253b9fedee2904dda75
parent3b09825dd8758a59c1a70e18df5bc8d04f8e5ced (diff)
char/tpm/tpm_crb: fix build error
SIMPLE_DEV_PM_OPS() was inside #ifdef CONFIG_PM_SLEEP. Fixes: 30fc8d1 ("tpm: TPM 2.0 CRB Interface") Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
-rw-r--r--drivers/char/tpm/tpm_crb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
index c248a356d5c9..3dd23cfae4fe 100644
--- a/drivers/char/tpm/tpm_crb.c
+++ b/drivers/char/tpm/tpm_crb.c
@@ -107,9 +107,9 @@ static int crb_resume(struct device *dev)
107 107
108 return rc; 108 return rc;
109} 109}
110#endif
110 111
111static SIMPLE_DEV_PM_OPS(crb_pm, tpm_pm_suspend, crb_resume); 112static SIMPLE_DEV_PM_OPS(crb_pm, tpm_pm_suspend, crb_resume);
112#endif
113 113
114static u8 crb_status(struct tpm_chip *chip) 114static u8 crb_status(struct tpm_chip *chip)
115{ 115{