summaryrefslogtreecommitdiff
path: root/drivers/pci/pcie/portdrv_pci.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-04-17 02:25:33 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-17 02:25:33 +0400
commit7f4927c1b505eb4e679ab506bf7626af6258e6b6 (patch)
tree7686d23bf67956272967a79d7e3b23382ca17a3b /drivers/pci/pcie/portdrv_pci.c
parentf45139044db870835b53a0fea41da2e04c3958d0 (diff)
downloadlinux-7f4927c1b505eb4e679ab506bf7626af6258e6b6.tar.xz
[PATCH] fix u32 vs. pm_message_t in PCI, PCIE
This fixes drivers/pci (mostly pcie stuff). Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pci/pcie/portdrv_pci.c')
-rw-r--r--drivers/pci/pcie/portdrv_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index 3184843c3649..e9095ee508e3 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -67,7 +67,7 @@ static void pcie_portdrv_remove (struct pci_dev *dev)
}
#ifdef CONFIG_PM
-static int pcie_portdrv_suspend (struct pci_dev *dev, u32 state)
+static int pcie_portdrv_suspend (struct pci_dev *dev, pm_message_t state)
{
return pcie_port_device_suspend(dev, state);
}