diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-01-19 09:43:40 +0100 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-19 20:46:50 +0100 |
commit | 914309995ed5c6c737df4135ac5ba2b67cff194d (patch) | |
tree | d4659beb473160357b0d2253b9fedee2904dda75 /drivers/char/tpm | |
parent | char/tpm: fixed white spaces coding style issues (diff) | |
download | linux-914309995ed5c6c737df4135ac5ba2b67cff194d.tar.xz linux-914309995ed5c6c737df4135ac5ba2b67cff194d.zip |
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 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) return rc; } +#endif static SIMPLE_DEV_PM_OPS(crb_pm, tpm_pm_suspend, crb_resume); -#endif static u8 crb_status(struct tpm_chip *chip) { |