[PATCH] Fix u32 vs. pm_message_t in drivers/char
Here are fixes for drivers/char. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
438510f6f0
commit
4fd416c14c
@@ -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)
|
||||
|
Reference in New Issue
Block a user