]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - drivers/char/tpm/tpm.c
[PATCH] Fix u32 vs. pm_message_t in drivers/char
[linux-3.10.git] / drivers / char / tpm / tpm.c
index 8318268169d67acbe2c39e4fdfee8881203a5031..ca36087d4f8a739774c51a39d7485cb4046c4082 100644 (file)
@@ -567,7 +567,7 @@ static u8 savestate[] = {
  * We are about to suspend. Save the TPM state
  * so that it can be restored.
  */
-int tpm_pm_suspend(struct pci_dev *pci_dev, u32 pm_state)
+int tpm_pm_suspend(struct pci_dev *pci_dev, pm_message_t pm_state)
 {
        struct tpm_chip *chip = pci_get_drvdata(pci_dev);
        if (chip == NULL)