diff options
Diffstat (limited to 'drivers/char/tpm/tpm.c')
-rw-r--r-- | drivers/char/tpm/tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c index 8318268169d6..ca36087d4f8a 100644 --- a/drivers/char/tpm/tpm.c +++ b/drivers/char/tpm/tpm.c | |||
@@ -567,7 +567,7 @@ static u8 savestate[] = { | |||
567 | * We are about to suspend. Save the TPM state | 567 | * We are about to suspend. Save the TPM state |
568 | * so that it can be restored. | 568 | * so that it can be restored. |
569 | */ | 569 | */ |
570 | int tpm_pm_suspend(struct pci_dev *pci_dev, u32 pm_state) | 570 | int tpm_pm_suspend(struct pci_dev *pci_dev, pm_message_t pm_state) |
571 | { | 571 | { |
572 | struct tpm_chip *chip = pci_get_drvdata(pci_dev); | 572 | struct tpm_chip *chip = pci_get_drvdata(pci_dev); |
573 | if (chip == NULL) | 573 | if (chip == NULL) |