Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91430999 authored by Jarkko Sakkinen's avatar Jarkko Sakkinen Committed by Peter Huewe
Browse files

char/tpm/tpm_crb: fix build error



SIMPLE_DEV_PM_OPS() was inside #ifdef CONFIG_PM_SLEEP.

Fixes: 30fc8d13 ("tpm: TPM 2.0 CRB Interface")
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 3b09825d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{