]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Expose pci_load_saved_state for public consumption.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Dec 2014 21:40:31 +0000 (16:40 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 12:42:02 +0000 (12:42 +0000)
commit3fddf1332febd99f48cc94e2b44831743ded51a7
tree208caefbbe827541e86be74d844ad89b0066364e
parentff33b545396b03dd9616075b581c39d84f875c34
PCI: Expose pci_load_saved_state for public consumption.

We have the pci_load_and_free_saved_state, and pci_store_saved_state
but are missing the functionality to just load the state
multiple times in the PCI device without having to free/save
the state.

This patch makes it possible to use this function.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/pci/pci.c
include/linux/pci.h