diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-01-19 10:43:40 +0200 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-19 20:46:50 +0100 |
commit | 914309995ed5c6c737df4135ac5ba2b67cff194d (patch) | |
tree | d4659beb473160357b0d2253b9fedee2904dda75 | |
parent | 3b09825dd8758a59c1a70e18df5bc8d04f8e5ced (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c index c248a356d5c..3dd23cfae4f 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) return rc; } +#endif static SIMPLE_DEV_PM_OPS(crb_pm, tpm_pm_suspend, crb_resume); -#endif static u8 crb_status(struct tpm_chip *chip) { |