diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-01-19 08:43:40 (GMT) |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-19 19:46:50 (GMT) |
commit | 914309995ed5c6c737df4135ac5ba2b67cff194d (patch) | |
tree | d4659beb473160357b0d2253b9fedee2904dda75 /drivers/char/tpm | |
parent | 3b09825dd8758a59c1a70e18df5bc8d04f8e5ced (diff) | |
download | linux-914309995ed5c6c737df4135ac5ba2b67cff194d.tar.xz |
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>
Diffstat (limited to 'drivers/char/tpm')
-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 c248a35..3dd23cf 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) { |