aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/portdrv_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pcie/portdrv_bus.c')
-rw-r--r--drivers/pci/pcie/portdrv_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pcie/portdrv_bus.c b/drivers/pci/pcie/portdrv_bus.c
index 9a02f28ed05f..4037a3e568de 100644
--- a/drivers/pci/pcie/portdrv_bus.c
+++ b/drivers/pci/pcie/portdrv_bus.c
@@ -15,7 +15,7 @@
15#include <linux/pcieport_if.h> 15#include <linux/pcieport_if.h>
16 16
17static int pcie_port_bus_match(struct device *dev, struct device_driver *drv); 17static int pcie_port_bus_match(struct device *dev, struct device_driver *drv);
18static int pcie_port_bus_suspend(struct device *dev, u32 state); 18static int pcie_port_bus_suspend(struct device *dev, pm_message_t state);
19static int pcie_port_bus_resume(struct device *dev); 19static int pcie_port_bus_resume(struct device *dev);
20 20
21struct bus_type pcie_port_bus_type = { 21struct bus_type pcie_port_bus_type = {
@@ -46,7 +46,7 @@ static int pcie_port_bus_match(struct device *dev, struct device_driver *drv)
46 return 1; 46 return 1;
47} 47}
48 48
49static int pcie_port_bus_suspend(struct device *dev, u32 state) 49static int pcie_port_bus_suspend(struct device *dev, pm_message_t state)
50{ 50{
51 struct pcie_device *pciedev; 51 struct pcie_device *pciedev;
52 struct pcie_port_service_driver *driver; 52 struct pcie_port_service_driver *driver;