aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/aerdrv.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-02-15 16:32:48 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 13:47:49 -0400
commit3a3c244c9a355105bc193fde873c73727bf87192 (patch)
treecabffedef7a283c8caa6618e46a57660068cde99 /drivers/pci/pcie/aer/aerdrv.c
parentae40582e9959cdb7bfe4b918be8e3d19f9511798 (diff)
PCI: PCIe portdrv: Implement pm object
Implement pm object for the PCI Express port driver in order to use the new power management framework and reduce the code size. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pcie/aer/aerdrv.c')
-rw-r--r--drivers/pci/pcie/aer/aerdrv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c
index e11c03194063..32ade5af927e 100644
--- a/drivers/pci/pcie/aer/aerdrv.c
+++ b/drivers/pci/pcie/aer/aerdrv.c
@@ -40,9 +40,6 @@ MODULE_LICENSE("GPL");
40 40
41static int __devinit aer_probe (struct pcie_device *dev); 41static int __devinit aer_probe (struct pcie_device *dev);
42static void aer_remove(struct pcie_device *dev); 42static void aer_remove(struct pcie_device *dev);
43static int aer_suspend(struct pcie_device *dev, pm_message_t state)
44{return 0;}
45static int aer_resume(struct pcie_device *dev) {return 0;}
46static pci_ers_result_t aer_error_detected(struct pci_dev *dev, 43static pci_ers_result_t aer_error_detected(struct pci_dev *dev,
47 enum pci_channel_state error); 44 enum pci_channel_state error);
48static void aer_error_resume(struct pci_dev *dev); 45static void aer_error_resume(struct pci_dev *dev);
@@ -61,9 +58,6 @@ static struct pcie_port_service_driver aerdriver = {
61 .probe = aer_probe, 58 .probe = aer_probe,
62 .remove = aer_remove, 59 .remove = aer_remove,
63 60
64 .suspend = aer_suspend,
65 .resume = aer_resume,
66
67 .err_handler = &aer_error_handlers, 61 .err_handler = &aer_error_handlers,
68 62
69 .reset_link = aer_root_reset, 63 .reset_link = aer_root_reset,