]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PCI: Add pcibios_pm_ops for optional arch-specific hibernate functionality
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 20 Aug 2013 14:41:02 +0000 (16:41 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 22 Aug 2013 20:11:32 +0000 (14:11 -0600)
commit699c1985587aad3432c5ae19801efb4186db8b7a
treefe169fdbf3111a1ce264115da81b30837adf6079
parent4b1ced841b2e31470ae4bb47988891754ce4d8c7
PCI: Add pcibios_pm_ops for optional arch-specific hibernate functionality

Platforms may want to provide architecture-specific functionality when
a PCI device is doing a hibernate transition.  Add a weak symbol
pcibios_pm_ops that architectures can override to do so.

[bhelgaas: fold in return value checks from v2 patch]
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-driver.c
include/linux/pci.h